[rules-users] Deployment on WS 6.1 Glassfish 9

2008-09-24 Thread Steve Nunez
I've also been experiencing problems with deploying Guvnor on  
WebSphere 6.1, as well as Glassfish 9. In both cases there are problem  
with initialising with Seam components.


Has anyone else experienced this? I've opened up a JIRA issue  
(GUVNOR-11) to track this, but I'm told that it's not a Guvnor problem  
per se, but a problem with the AS  seam.


Since I don't have a choice in AS (Application Server), I'm going to  
have to work through this. If anyone else has done so, or is working  
on it and would like to share experiences, please contact me, either  
on the list or directly.


As a starting point, I'm going to look at the existing wiki and hope  
that the information there, although written for the version 4 BRMS,  
will be applicable to 'Guvnor'. It's also been suggested that we look  
at the Seam user groups for leads.


Regards,
- SteveN





This message was sent using IMP, the Internet Messaging Program.



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] RE: Deploying the BRMS on Web-Sphere 6.1

2008-09-24 Thread Michael Neale

Great work Vikram.

We use seam to help insulate us from container specifics.

Please do update the wiki with your findings.

As a worst case, perhaps a client side redirect to index could help  
(so URL has a file in it). But it does sound like a websphere bug.


Sent from my iPhone

On 23/09/2008, at 15:49, Vikrant Yagnick [EMAIL PROTECTED] wrote:

Well it  is not that serious a problem as I initially thought. As I  
mentioned the URL(adding the index.jsp) works, so there is an easy  
work-around available.


The main bug seems to be that if a URL is sent to WebSphere which  
does not have a physical file in it the filter which should kick in  
and re-direct does not do so. (http://www-01.ibm.com/support/docview.wss?rs=180uid=swg1PK27620 
)


This has nothing to do with the BRMS of course and is a problem for  
all Web-Apps in this version of Websphere(We are using 6.1.0.0).  
Adding the index.jsp to the URL seems to work fine for now. I am  
working on the BRMS to see if there are any other side-effects of  
this.


Maybe, we should update a Wiki or troubleshooting doc on this so  
that it is known to the community.


Digging around IBM Support after my post, I have found quite a few  
bugs mentioned in version 6.1 regarding how Servlet Filters work and  
of some on JSF(Especially JBOSS Seam) problems with the particular  
version. (http://www-01.ibm.com/support/docview.wss?uid=swg1PK47367)


IBM has however provided patches for all of them and I am going to  
give another shot at seeing the behavior after upgrading to a higher  
release.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
] On Behalf Of Michael Neale

Sent: Tuesday, September 23, 2008 5:25 AM
To: Rules Users List
Subject: Re: [rules-users] RE: Deploying the BRMS on Web-Sphere 6.1

Hi Vikrant.

well the drools-guvnor/ doesn't use a filter so much as it is default
web.xml behaviour - you can specify a welcome page, which it goes to
when the root path is supplied. If Websphere 6.1 can't even do that -
I would say something is seriously wrong (may be a bad install?) - you
could try it with a really simple war that just has 1 jsp and a
web.xml and see if it happens with it? although I think:

As for servlet filters - as we use Seam, it uses servlet filters to
manage lifecycles, so yes, that could be it (if its not the above). It
isn't possible to replace the filters, as they do a very different job
from servlets (although the difference is subtle).

What would be better would be to work out what the problem is with
websphere and filters I think.

On Mon, Sep 22, 2008 at 9:34 PM, Vikrant Yagnick  
[EMAIL PROTECTED] wrote:

Well it clearly is a problem with filters as the following works in
WebSphere:



http://localhost:9080/drools-guvnor/index.jsp



However just typing



http://localhost:9080/drools-guvnor does not and gives you the Ugly  
500.






Cheers,

Vikrant



From: Vikrant Yagnick
Sent: Monday, September 22, 2008 4:38 PM
To: Rules Users List
Subject: Deploying the BRMS on Web-Sphere 6.1



Hi All,



Has anyone been able to deploy the BRMS War file on Websphere 6.1.   
The BRMS
deploys without problems , but I get the following error when I try  
to

access the BRMS:



Error 500:  
com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor

incompatible with com.ibm.wsspi.webcontainer.servlet.IServletWrapper.



However, the WebDAV servlet still works.

I dug around a little, and have found that this problem has  
occurred for

other web-applications as well who have provided a workaround:



http://wiki.merbivore.com/pages/deploying-a-merb-application-to-a-jee-container-us
(Read Step 7)



The problem seems to be related to Servlet-Filters. These do not  
seem to
work correctly with Websphere 6.1.  In the site mentioned they have  
replaced
the servlet-filter with a normal server. (The BRMS seems to use a  
servlet

filter for /* url mapping).



I have seen posts on other forums regarding the BRMS deployment on  
Websphere

6.1 but no answers as to how to make this work.



Any, help would be appreciated.



Cheers,

Vikrant






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 

[rules-users] Re: wrapping drools api?

2008-09-24 Thread Arjun Dhar
Mark Proctor mproctor at codehaus.org writes:

 
 thomaskukofka at web.de wrote:
  Hello,
 
  some people write about wrapping the Drools API with an own access API 
  for integration in the application.
  Sorry for the perhaps stupid question, but what is the reason for 
  this? Does this only make sense if  I'm thinking about changing the 
  rule engine one day?
 yes they do this for rule engine independance.
  If I'm not intending to change the rule engine from Drools to another, 
  so isn't it the same if the developpers has to use the native Drools 
  API or an self-written access API?
 
  Regards
  Tom
  ___
  rules-users mailing list
  rules-users at lists.jboss.org
  https://lists.jboss.org/mailman/listinfo/rules-users
 
 
 ___
 rules-users mailing list

People also do it to shield against backward compatibility issues even with the 
same engine.

Taking nothing away from Drools, but over the past many version changes there 
have been issues migrating. Wrapping may not stop it but one can always put 
checks and balances there so the rest of the application and effective JUnit 
testing can be done layer by layer.

Regards,
Arjun
 rules-users at lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users