[jboss-user] [EJB/JBoss] - ejb 3.0 SFSB timeouts

2007-07-04 Thread mark1.szymczak
jboss-4.0.5.GA

I am trying to get the container to destroy a test EJB 3.0 stateful bean. 
The client has not invoked the @Remove annotated method.  It has just exited. 

Any changes that I make to standardjboss.xml seem to have no effect in so far 
as the bean is not passivated. 

When I add the 

@CacheConfig(maxSize=5, idleTimeoutSeconds=10) 

annotation,  the bean is passivated rather quickly as expected but I cannot get 
the container to remove the bean.   I would like to change a setting to force 
this to happen quickly so that I can see it. 

Any thoughts anyone ? 

Thanks in expectation. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060660#4060660

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-04 Thread bdecoste
No, you should not have to modify that file unless you want to change the 
default bean configuration or create a custom config. Are there any exceptions 
when you start the app server?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060659#4060659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 2.0.0 B1 & validateAll

2007-07-04 Thread FabBoco
Hi,

I have just ported my application to Seam 2.0.0 B1 following the migration 
guide and the seamdiscs example.

It look likes to work fine except I had to remove  from all my 
xhtml pages.

With  I get the following error each time I submit the page:


  | 
  | java.lang.NullPointerException:
  | at 
org.jboss.seam.ui.validator.ModelValidator.validate(ModelValidator.java:44)
  | at 
org.apache.myfaces.trinidad.component.UIXEditableValue.validateValue(UIXEditableValue.java:348)
  | at 
org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:172)
  | at 
org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:491)
  | at 
org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:271)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXForm.processValidators(UIXForm.java:82)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:991)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:976)
  | at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:811)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662)
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | 08:19:57,929 WARN  [lifecycle] executePhase(PROCESS_VALIDATIONS 3,[EMAIL 
PROTECTED]) threw exception
  | javax.faces.FacesException:
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:108)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
  | at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(Tri

[jboss-user] [Clustering/JBoss] - Clustering EJB 1.1

2007-07-04 Thread morki
hey

my two-node cluster is running so far...

as i now recognized all of our ejbs are version 1.1.

i just checked the different dtd's of version 1.1, 2.0 and 3.0 
but unforunately i am not sure whether clustering ejb 1.1 is possible or not.

can anyone help me with that question?

would be great.

thanks in advance.


morki

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060655#4060655

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-04 Thread ashusri000
Hi , 
I already have this xml in the deploy directory , do I need to edit 
this file. Please revert back.

Regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060654#4060654

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-04 Thread bdecoste
Make sure you have ejb3-interceptors-aop.xml in the deploy directory - that is 
where the "Stateless Bean" container or domain configuration is defined.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060652#4060652

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-07-04 Thread georges.goebel
Hi,

I miss an example of Seam 2.0 Beta with Icefaces 1.6. 
I struggle with a lot of problems and would be pleased if there was an example 
of seam 2.0 with icefaces 1.6. I managed to work with seam 1.3 and icefaces 
1.5.3, but I could not get seam 1.3 + icefaces 1.6 working.
Can I use seam 2 with icefaces 1.6 or are there known problems ?

I know there the release Icefaces 1.6 DR5 has problem with the 
long-conversation but the SVN version does not have this limitation

Thanks for any information

Georges

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060651#4060651

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-04 Thread grdzeli_kaci
hi lowecg2004, 
first of all thank you for your post, i tried all versions of seam and jboss 
application server,
is this so difficult that use seam and richfaces together ???
i already tried this for a week  but could not resolve :(
environment :

1. JBoss AS 4.2.0GA
2. Seam 2.0.0.BETA1
3. Richfaces 3.0.1
4.ajax4jsf 1.1.1



here is my example simple dynamic tree   generation into seam component :
1.MenuBean.java (Seam Component)

  | @Name("menu")
  | @Scope(ScopeType.SESSION)
  | public class MenuBean{
  | 
  | @In
  | private EntityManager entityManager;
  | 
  | private HtmlPanelBar bar = new HtmlPanelBar();
  | public MenuBean() {
  | }
  | 
  | public HtmlPanelBar getBar() {
  | if (bar!=null && bar.getChildren()!=null) {
  | bar.getChildren().clear();
  | }
  | 
  | ArrayList arraylist = 
(ArrayList)entityManager.createNamedQuery("Menu.findAll").getResultList();
  | for (Menu elem : arraylist) {
  | HtmlPanelBarItem item= new HtmlPanelBarItem();
  | item.setLabel("Bl");
  | 
  | Library library = new Library();
  | HtmlTree tree = new HtmlTree();
  | tree.setStyle("width:150px");
  | tree.setValue(library.getData());
  | tree.setVar("item");
  | tree.setNodeFace(library.getType());
  | 
  | 
  | Iterator itArtists = 
library.getArtists().values().iterator();
  | while (itArtists.hasNext()) {
  | Artist artist = (Artist)itArtists.next();
  | 
  | HtmlTreeNode artistNode = new HtmlTreeNode();
  | artistNode.setType("artist");
  | HtmlOutputText artistText = new HtmlOutputText();
  | artistText.setValue(artist.getName());
  | 
  | Iterator itAlbums = artist.getAlbums();
  | while (itAlbums.hasNext()) {
  | Album album = (Album) itAlbums.next();
  | 
  | HtmlTreeNode albumNode = new HtmlTreeNode();
  | albumNode.setType("album");
  | HtmlOutputText albumText = new HtmlOutputText();
  | albumText.setValue(album.getTitle());
  | 
  | Iterator itSongs = album.getSongs();
  | while (itSongs.hasNext()) {
  | Song song = (Song) itSongs.next();
  | 
  | HtmlTreeNode songNode = new HtmlTreeNode();
  | songNode.setType("song");
  | HtmlOutputText songText = new HtmlOutputText();
  | songText.setValue(song.getTitle());
  | 
  | tree.getChildren().add(songNode);
  | }
  | tree.getChildren().add(albumNode);
  | tree.getChildren().add(artistNode);
  | item.getChildren().add(tree);
  | bar.getChildren().add(item);
  | }
  | }
  | }
  | return bar;
  | }
  | public void setBar(HtmlPanelBar bar) {
  | this.bar = bar;
  | }
  | }
  | 
1.Home.xhtml (Presentation Layer)

  |  
  | 
  | 
  | 
  | 
  | Welcome!
  | This empty shell application includes:
  | 
  | Ant build script
  | Deployment to JBoss AS
  | Integration testing using TestNG and JBoss 
Embeddable EJB3
  | EJB 3.0 Seam components
  | Templated Facelets views
  | HSQL (or MySQL) Datasource
  | Default CSS stylesheet
  | Internationalization support
  | 
  | 
  | 
  | 
  | 
  |  
  | 

i always get this error :

  | Caused by: org.jboss.seam.RequiredException: In attribute requires non-null 
value: menu.entityManager
  | at org.jboss.seam.Component.getValueToInject(Component.java:2042)
  | at org.jboss.seam.Component.injectAttributes(Component.java:1481)
  | at org.jboss.seam.Component.inject(Component.java:1302)
  | 

i tried to find something into seam code but i could not find anything for this 
issue,
you told me about configurations lowecg200, here is my configurations :

1.components.XML

  | 
  | http://jboss.com/products/seam/components";
  | xmlns:core="http://jboss.com/products/seam/core";
  | xmlns:persistence="http://jboss.com/products/seam/persistence";
  | xmlns:drools="http://jboss.com/products/seam/drools";
  | xmlns:security="ht

[jboss-user] [JBoss Seam] - Re: How to implement Transaction and Rollback

2007-07-04 Thread Kruno
If you find out, please share :) I have a similar problem but in seam 2.0 there 
is no @Rollback(if..


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060649#4060649

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Exception got in deployment of EJB3 .ear

2007-07-04 Thread ashusri000
Hi All ,
I am using ejb3 along with JBoss 4.2.0 , Java5 and Oracle Toplink as the 
persistence provider and Oracle 10g . After having deployed my datasource 
successfully , when I deploy my ear file , I get this error :
Please help me out .



11:17:51,078 WARN [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=persist.jar
java.lang.RuntimeException: No container configured with name 'Stateless Bean''
at 
org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:249)
at 
org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:145)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:468)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:424)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:405)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:366)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:321)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:330)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy33.create(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:73)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy34.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.

[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2007-07-04 Thread tst
i checked my code to see if com.tlc.utils.ClientInfo is Serialized , but it is 
fine the class implements Serializable interface but i still get the same 
exception
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060646#4060646

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2007-07-04 Thread tst
Some body please help

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060645#4060645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: RichFaces : sample for ajax jsf portlet provided

2007-07-04 Thread Antoine_h
ho ho ! are you trying with JBP 2.4.1 ?
This version is not able for using any Ajax feature (for RichFaces or any other 
thing). And it is not easy to have work with Ajax, for what I saw.

Ajax in portlet is a new feature of JBP 2.6.0.
That is why, with this version, using RichFaces becomes possible.
See the RichFaces Jira indicated above in previous post of this thread.

so, you have to use JBP2.6 (GA release was out a few days ago).

As far as I am doing, migrating from JBP2.4.1 to JBP2.6 is some work, depending 
of what things you have done to customize your portal on JBP2.4.1.
It is some work, but all is worthy : nice features, better way of doing things. 
It is not a waste of time at all !
And the Ajax feature is a very nice bonus (among others) that comes with JBP2.6.

I guess you are not far from succes !


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060644#4060644

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Could not activate; failed to recover session (session h

2007-07-04 Thread vardhan
i too get this same error

i have a demo to be show to the VPs in another 1 hr , Some body please help

I realy...realy...realy...realy... NEED HELP

Please

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060643#4060643

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - JBoss rules engine

2007-07-04 Thread souravbiswas
can somebody help me out with Jboss rules engine installation???

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060642#4060642

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Jrules engine

2007-07-04 Thread souravbiswas
can somebody help me out with Jrules installation and coding

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060640#4060640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Jrules problem

2007-07-04 Thread souravbiswas
hi all

i was thinking about evaluating the Jboss rules engine 

i am new to rule's engines and following the installation guide ere's wat i 
have done
1.unzipped the eclipse pluggin into my eclipse plugins folder
2.started a new rules project  project where i have included the Sample.drl and 
DroolTest.java files .

now when i am running the DroolTest.java file as java application i am having 
the following error 

org.drools.RuntimeDroolsException: Unable to load dialect 
'org.drools.rule.builder.dialect.java.JavaDialect:java'
at 
org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:156)
at org.drools.compiler.PackageBuilder.(PackageBuilder.java:131)
at org.drools.compiler.PackageBuilder.(PackageBuilder.java:84)
at com.sample.DroolsTest.readRule(DroolsTest.java:50)
at com.sample.DroolsTest.main(DroolsTest.java:21)



can sumbody pls help me out

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060639#4060639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread ganeshraja
which are the required .jar files for this sample?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060638#4060638

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Getting an updated data model selection

2007-07-04 Thread amitdk
Hello,
I have a JSF page that allows one of the dataTable columns to be updated. 
However the selected row update to certain elements of a row doesn't seem to 
come through in the DataModelSelection. Is the DataModel not updatable? I would 
imagine it would be - however I always get the old value back in my session 
bean. 

Here's how the JSF page looks:

  | 
  | 
  |
  | Your Weekly Tasks:
  | 
  | 
  | 
  | 
  | Assigned Task
  | 
  |   
  | 
  | Assigned Task
  | 
  | 
  | 
  |action  
  | 
  |   
  | 
  |action  
  | 
  | 
  | 
  |
  |  
  | 
Here's how the session bean looks:

  | @Stateful
  | @Name("report")
  | @Scope(ScopeType.SESSION)
  | public class ReportBean implements Report, Serializable
  | {
  | private static final long serialVersionUID = 8545529442081579216L;
  | 
  | @PersistenceContext(type = PersistenceContextType.EXTENDED)
  | EntityManager entityMgr;
  | 
  | @In
  | User user;
  | 
  | @DataModel
  | List weeklyTasks;
  | 
  | @DataModelSelection
  | private TaskAssignment selectedTask;
  | 
  |  .
  | 
  | @Factory("weeklyTasks")
  | public void showTasks()
  | {
  | weeklyTasks = entityMgr
  | .createQuery(..).setParameter(..).getResultList();
  | }
  | 
  | // Here's the method I expect to get the updated comments
  | public void saveTask()
  | {
  | System.out.println( selectedTask.getComments() );
  | .
  | }
  | 
On a double click on a row on the dataTable, the comments field becomes 
editable, however the submit and corresponding invocation of saveTask does not 
give me the latest edited value.

Is there something I am missing here in terms of how you capture an edited row 
value? 

Any help is appreciated.
Thanks
Amit Karandikar


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060635#4060635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-07-04 Thread maiky
Yes I want to create a sign_out_url that redirect me to my proper home page 
when a user click on logout (with no user authentificated after).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060632#4060632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: RichFaces : sample for ajax jsf portlet provided

2007-07-04 Thread chuaky
hi Antoine,

I try to deploy richfacesTest-app.ear on my server but it doesn't work.  There 
was no output when the link on the navigation bar was clicked.  My setting are:

- Jboss AS 4.0.5
- Seam 1.2.1
- Portal 2.4.1SP1

What do i need to change to make it work?

I have been trying to use ajax4jsf and richfaces in portlet environment for 
long time but cannot get it to work.

Very sad :(
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060631#4060631

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Need to fully qualify isUserInRole?

2007-07-04 Thread jazir1979
Hi all,

I just noticed that the #{isUserInRole['BLAH']} tags in my JSF pages are not 
being invoked after my upgrade to Seam 2.

After fully qualifying it as org.jboss.seam.web.isUserInRole['BLAH'] it works 
fine.  Is this a known change, or can I avoid it somehow?  Is it related to the 
fact that there are two versions of this component (one in .web one in .faces)?

thanks,
Daniel.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060629#4060629

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: best way of using application scope constants?

2007-07-04 Thread jazir1979
I'm doing a similar thing to this using a SLSB with application scoped @Factory 
methods.  It works well.


  | @Stateless
  | @Name("factory")
  | public class FactoryActionBean extends BaseActionBean implements 
FactoryAction {
  | @In(create = true, value = "entityManager")
  | protected EntityManager em;
  | 
  | /** [EMAIL PROTECTED] */
  | @Factory(value = "statusList", scope = ScopeType.APPLICATION)
  | public List getStatuses() {
  | return  service.findReservationStatuses(em);
  | }
  | 

Watch out though, using the above list with  broke in Seam 2 
Beta 1 due to JBSEAM-1487, but this is now fixed in CVS, thanks to Pete.

"bkroeger" wrote : Hi,  I would like to know if Ellen got this working, I have 
tried to do the same thing but when I attempt to get a reference to the 
EntityManager in my application scope bean:
  | 
  |   | @PersistenceContext
  |   | private EntityManager em;
  |   | 
  | I get an error message telling me my bean needs to be in session scope, 
which defeats the purpose as I will end up re-creating my list every time a new 
session starts.
  | 
  | What's the best way to have an application scope (static) list available to 
the application, that requires use of the EntityManager?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060628#4060628

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB annotation gone from JBoss 4.2?

2007-07-04 Thread curtney
If I am not mistaken, I believe the package has changed to: 

import javax.ejb.EJB;

_CJ

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060627#4060627

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060627
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: uninitialized nodes

2007-07-04 Thread aditsu
It looks like the solution to all my problems is *not* to use a cacheloader at 
all. I was preloading all the data anyway (in a custom and optimized way) so I 
don't need to load further data, and for storing changes I found that I can use 
a simple cache listener (the JBC2 CacheListener does a wonderful job). I'm 
using this kind of configuration now.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060624#4060624

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2007-07-04 Thread jrizzo
I can't tell you how happy this makes me as it will certainly make my life 
easier.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060623#4060623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - How to deploy a Bean as a global JNDI service for remotely i

2007-07-04 Thread johnnylzb
Now there are some Beans(provide some services) deploy in Spring as Service,but 
i want them to be invoked by remote client.I want to deploy them as global JNDI 
objects within JBoss(like the DataSource).

How can i do? Must i make the beans implement java.rmi.Remote interface.

And,how can i deploy them as global JNDI object in JBoss?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060622#4060622

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: how to clean the useless table?

2007-07-04 Thread littlefish
thx, i would like to remove the render of the following code:


  | 
  | 
  | 
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060620#4060620

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB 3 OneToMany with Composite Key

2007-07-04 Thread waynebaylor
if i remember correctly, the @OneToMany relationship will, by default, create a 
table for the "many" side which will contain a foreign key referencing the 
"one" side. 

so, since messageId is the PK for CommsMessage the table representing 
CommsMessageRecipient will have two columns named messageId: one as the FK 
referencing CommsMessge and another as part of its own PK.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060619#4060619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Adding .jar files to the classpath of a webapp

2007-07-04 Thread jwiegley
I thought I should mention that I found the solution to this problem.  I need 
an extra add_extdir(PATH) and sys.path.append(PATH) to my Jython script, so 
that it could dynamically load new classes from the .jar files in WEB-INF/lib.

John

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060618#4060618

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Reading Runtime Property Files from EAR

2007-07-04 Thread jantzen
This works:


  |   Properties defaultProperties = new Properties();  
  |   try {
  |  
defaultProperties.load(getClass().getResourceAsStream("/default.runtime.properties"));
 
  |   } catch (IOException e) {
  |  log.error("Unable to open default properties file: " + 
e.getMessage());
  |   } catch (NullPointerException npe) {
  |  log.error("Unable to locate default properties file");
  |   }
  |   Properties runtimeProperties = new Properties(defaultProperties);
  |   try {
  |  
runtimeProperties.load(getClass().getResourceAsStream("/runtime.properties"));
  |   } catch (IOException ioe) {
  |  log.error("Unable to open runtime properties file, using defaults: 
" + ioe.getMessage());
  |   } catch (NullPointerException npe) {
  |  log.error("Unable to locate runtime properties file, using 
defaults");
  |   }
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060615#4060615

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060615
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-07-04 Thread [EMAIL PROTECTED]
I see what you mean. What you don't have is a way to create the proper sign out 
URL ?

"maiky" wrote : I can redirect but I want redirect after logout. with no new 
clic.
  | 
  | When I click on logout, I want to redirect to my home page with no User log 
in.
  | 
  | At this time when I'm using the sign_out_url, I'm redirect to default 
portal.
  | 
  | If I can't change the sign_out_url, can I log out an user with a function ? 
and after redirect to my home page ?
  | 
  | I think a function exist for log out ?
  | 
  | Thks.
  | 
  | PS: Sorry for my bad English.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060616#4060616

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: SaveAs CSV file

2007-07-04 Thread [EMAIL PROTECTED]
You can put a servlet in the war file of your web application and  create a 
link by doing :

ExternalContext ctx = FacesContext.getCurrentInstance().getExternalContext();
String s = ctx.getRequestContextPath() + "/mydownloadservlet";
String url = ctx.encodeResourceURL(s);

Then use the URL in your application.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060614#4060614

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - JSF 1.2 + Woodstock

2007-07-04 Thread viggo.navarsete
Environment:
JBoss Portal Version: 2.6
Did you get Portal from CVS? or download it? Downloaded
JBoss AS Version: 4.2.0 GA
Database Vendor and Version: Postgres 8.1
JDBC Connector and Version: postgresql-8.1-404.jdbc3.jar
OS Platform: Ubuntu 7.0.4

Describe the problem:
I've developed a portlet which utilizes the woodstock components. I have the 
following code in my jsp:
<[EMAIL PROTECTED] contentType="text/html"%>
  | <[EMAIL PROTECTED] pageEncoding="UTF-8"%>
  | 
  | <[EMAIL PROTECTED] prefix="f" uri="http://java.sun.com/jsf/core"%>
  | <[EMAIL PROTECTED] prefix="h" uri="http://java.sun.com/jsf/html"%>
  | 
  | <%-- Uncomment below lines to add portlet taglibs to jsp --%>
  | <%@ page import="javax.portlet.*"%>
  | <%@ taglib uri="http://java.sun.com/portlet"; prefix="portlet"%>
  | 
  | 
  | <%PortletPreferences prefs = renderRequest.getPreferences();%> 
  | 
  | 
  | 
  | 

The portlet deploys ok, but when I try to access it I get the following 
stacktrace:

  | 02:19:53,900 INFO  [DefaultLoadEventListener] Error performing load command
  | org.hibernate.ObjectNotFoundException: No row with the given identifier 
exists: [org.jboss.portal.core.impl.model.portal.ObjectNode#38]
  | at 
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
  | at 
org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:557)
  | at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:196)
  | at 
org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:130)
  | at 
org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2161)
  | at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2126)
  | at org.hibernate.loader.Loader.list(Loader.java:2096)
  | at 
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
  | at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
  | at 
org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:305)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNodeNoCache(PersistentPortalObjectContainer.java:262)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:290)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:242)
  | at 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getObject(AbstractPortalObjectContainer.java:89)
  | at 
org.jboss.portal.core.model.portal.command.PortalObjectCommand.acquireResources(PortalObjectCommand.java:68)
  | at 
org.jboss.portal.core.model.portal.command.PortalCommand.acquireResources(PortalCommand.java:56)
  | at 
org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:42)
  | at 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
  | at 
org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:128)
  | at 
org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:68)
  | at 
org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
  | at 
org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
  | at 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | at 
org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:57)
  | at 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
  | at 
org.jboss.portal.common.invocation.Invocation.i

[jboss-user] [JBoss Seam] - Re: Nested conversations - potential bug in Manager.beginNes

2007-07-04 Thread wschwendt
Any comments about this, or should I add it to JIRA?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060609#4060609

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060609
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam conversations - conceptual design issues

2007-07-04 Thread wschwendt
Hello,

(first of all excuse my bad English).

when a conversationId is restored from the PageContext (this happens when a 
Faces request is received), the validateLongRunningConversation property of 
org.jboss.seam.core.ConversationPropagation is set to 
page.isConversationLongRunning().

Consequently, in the case of a long-running conversation, 
org.jboss.seam.core.Manager.restoreConversation() returns true or false, 
depending on whether or not the conversation was successfully restored.


In contrast,  when a non-faces request is received,  the conversationId  is 
retrieved from the request parameters and the validateLongRunningConversation 
of org.jboss.seam.core.ConversationPropagation remains false.

Consequently, in the case of a long-running conversation, 
org.jboss.seam.core.Manager.restoreConversation() always returns true, even 
when it was not possible anymore to restore the long-running conversation and a 
fresh temporary conversation was  therefore created instead.(see the last 
line of org.jboss.seam.core.Manager.restoreConversation() ).
 // last line of org.jboss.seam.core.Manager.restoreConversation() 
  | 
  | public boolean restoreConversation() 
  | { ConversationPropagation cp = ConversationPropagation.instance();
  | ...
  | 
  |   return restoreAndLockConversation(ce) || 
!cp.isValidateLongRunningConversation();
  | }
  | 

It follows that for non-faces requests we don't have a validation of 
long-running conversations.  


  | class org.jboss.seam.jsf.SeamPhaseListener  {
  | ...
  | 
  |  /**
  | * Restore the page and conversation contexts during a JSF request
  | */
  |protected void afterRestoreView(FacesContext facesContext)
  |{
  |   FacesLifecycle.resumePage();
  |   Map parameters = 
facesContext.getExternalContext().getRequestParameterMap();
  | 
ConversationPropagation.instance().restoreConversationId(parameters);
  |   boolean conversationFound = Manager.instance().restoreConversation();
  |   FacesLifecycle.resumeConversation( facesContext.getExternalContext() 
);
  | 
  |   // see my notes above:  For non-faces requests conversationFound is 
  | // always true, even if the conversation was actually not found  and a 
  | // temporary conversation was created
  |   if (!conversationFound)
  |   {
  |  Pages.instance().redirectToNoConversationView();
  |   }
  |  


I thought about what could be Gavin's intention that there is no validation of 
long-running conversations when a non-faces request is received. 
Perhaps the reason is that URLs are bookmarkable and the user could bookmark a 
URL that contains a conversationID of a long-running conversation.If the 
user then makes a request with this bookmarked URL, he would not be able to 
access the corresponding page if the conversationID contained in the URL was 
validated.

But we pay a big price if we simply give up the validation of long-running 
conversations.I think it would be much better if the last line of
org.jboss.seam.core.Manager.restoreConversation()  was simply as follows:



  |  // last line of org.jboss.seam.core.Manager.restoreConversation() 
  | 
  | public boolean restoreConversation() 
  | { ConversationPropagation cp = ConversationPropagation.instance();
  | ...
  | 
  |   return restoreAndLockConversation(ce);
  | }
  | 


In order to support bookmarkable URLs where a contained conversation ID should 
not be validated, we could simply add another request parameter to indicate 
that restoreConversation should return true even if the long-running 
conversation couldn't be successfully restored.

 
Please give us the same validation behavior for non-faces requests as we have 
for faces requests!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060608#4060608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: best way of using application scope constants?

2007-07-04 Thread bkroeger
Hi,  I would like to know if Ellen got this working, I have tried to do the 
same thing but when I attempt to get a reference to the EntityManager in my 
application scope bean:

  | @PersistenceContext
  | private EntityManager em;
  | 
I get an error message telling me my bean needs to be in session scope, which 
defeats the purpose as I will end up re-creating my list every time a new 
session starts.

What's the best way to have an application scope (static) list available to the 
application, that requires use of the EntityManager?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060597#4060597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:formattedText breaking, and seamspace

2007-07-04 Thread hstang
Sorry, I should provide a little more information:

In seamspace when I post a blog entry, let say: 32" TV
I get a screen with the following message:

  | XML Parsing Error: mismatched tag. Expected: .
  | Location: http://localhost:8080/seam-space/blog.seam?name=awho&cid=6
  | Line Number 47, Column 11:32 TV
  | --^
  | 

and in my console:

  | expecting DOUBLEQUOTE, found '?'
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060594#4060594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060594
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying similar ear's

2007-07-04 Thread jaikiran
You have to have classloader isolation for those 2 ears. Have a look at 

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

and 

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060593#4060593

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060593
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Deploying similar ear's

2007-07-04 Thread wild_pig
Hi,

i need to deploy 2 ear's on same Jboss instance.

So, i have such a example:

1) first.ear
   -> test1.war
   -> inside.jar

2) second.ear
   -> test2.war
   -> inside.ear

Both have inside.jar in application.xml. This is the same jar but in another 
versions.

My Jboss (4.0.4) couldn't deploy it (they use one inside.jar not two) . I think 
it's classloader issue. 

It's possible to deploy it? On one JBoss instance?
What i need is - to have 2 war's with the same jar but different versions.

Regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060592#4060592

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060592
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems with running the websale example

2007-07-04 Thread syngolis
Since you are not fixed to a specific jdk version i would recommend to set your 
system (e.g. windows) jdk to version 1.5 (JAVA_HOME environment variable).
If you are under constraint to use jdk 1.4 see the post of kukeltje and compile 
the class for your jdk.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060591#4060591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060591
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - @EJB annotation gone from JBoss 4.2?

2007-07-04 Thread [EMAIL PROTECTED]
I've moved from 4.0.4 to 4.2 and am getting errors about javax.annotation.EJB 
not being found. (I'm injecting EJBs - worked for 404) I assume these 
annotations are still valid (not replaced with something like @Resource - that 
didn't work).

The jboss-ejb3x.jar file no longer contains the EJB annotation class.

Any ideas?

Thanks

Michael

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060590#4060590

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060590
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - [Newbie]Can't persist 2 new objects, if they have the same p

2007-07-04 Thread fmars
I'm creating 2 not-persisted objects and they have the same persisted object as 
instance variable. if i try to persist the new objects, i got a Duplicate entry 
violation. i know what it means, but i don't know what is wrong. 

can you please look at these small classes and point what is missing? Thank you.

@Entity
  | public class Gene implements java.io.Serializable {
  | @Id @GeneratedValue   private Integer id;   
  | 
  | private String name;
  | 
  | @OneToMany()
  | private List cancerTypes;
  | public Gene() {}
  |
  |  // Setters and Getters
  | }

Table CancerType is filled with some data after table creation!
@Entity
  | public class CancerType implements java.io.Serializable {
  | @Id @GeneratedValue  private Integer id;
  | 
  | private String name;
  | 
  | public CancerType(){}
  | 
  | // Setters and Getters
  | }

And the main:
Session session = new 
AnnotationConfiguration().configure().buildSessionFactory().getCurrentSession();
  | session.beginTransaction();
  | 
  | Gene g1 = new Gene();
  | g1.setName("name");
  | Gene g2 = new Gene();
  | g2.setName("name");
  | 
  | List cts = BasicDAO.session.createQuery("from 
CancerType").list();
  | 
  | g1.setCancerType(cts);
  | g2.setCancerType(cts);
  |   
  | session.save(g1);
  | session.save(g2);
  | 
  | session.getTransaction().commit();
  | 

Output:
Hibernate: select cancertype0_.id as id0_, cancertype0_.name as name0_ from 
CancerType cancertype0_
  | Hibernate: insert into Gene (name) values (?)
  | Hibernate: insert into Gene (name) values (?)
  | Hibernate: insert into Gene_CancerType (Gene_id, cancerTypes_id) values (?, 
?)
  | Hibernate: insert into Gene_CancerType (Gene_id, cancerTypes_id) values (?, 
?)
  | 00:01:39,109  WARN JDBCExceptionReporter:77 - SQL Error: 1062, SQLState: 
23000
  | 00:01:39,109 ERROR JDBCExceptionReporter:78 - Duplicate entry '1' for key 1
  | 00:01:39,109 ERROR AbstractFlushingEventListener:301 - Could not 
synchronize database state with session
  | org.hibernate.exception.ConstraintViolationException: Could not execute 
JDBC batch update
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | Exception in thread "main" 
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC 
batch update
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at tvsas1.Main.a2(Main.java:58)
  | at tvsas1.Main.main(Main.java:64)
  | Caused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 1
  | at 
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1237)
  | at 
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:936)
  | at 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
  | ... 9 more
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at tvsas1.Main.a2(Main.java:58)
  | at tvsas1.Main.main(Main.java:64)
  | Caused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 1
  | at 
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1237)
  | at 
com.mysql.jdbc.PreparedStatement.

[jboss-user] [JBoss jBPM] - Re: Problems with running the websale example

2007-07-04 Thread kukeltje
it does not mean you have to use jdk 1.5, it means that that class was compiled 
with jdk 1.5 and jdk 1.5 compatibility and therefor needs 1.5 to run. 

Since the rest has no problems, It seems that the engine and the process are 
compiled with different jdk's. You could also recompile the specific class with 
1.4 (e.g. set your eclipse ide to that) and redeploy the process. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060586#4060586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Exception on Timer-Execution under Weblogic

2007-07-04 Thread syngolis
After all...I found a possibillity to solve this problem...Here comes a 
question for the developers:

The error is thrown in Timerservicebean. First, the EJB Timer becomes cancled 
in 'cancelTimersByName'. Afterwards method  'deleteTimersForProcessInstance' is 
called and while executing TimerInfo timerInfo = (TimerInfo) 
ejbTimer.getInfo(); an error is thrown (in weblogic not in jboss), because 
there is no timer object for operation left. 

I don't understand this behaviour...so I insert a try...catch block in the 
second method and all works fine.

Can somebody explain it to me?

Here are the methods (with my 'correction')
  
  | public void cancelTimersByName(String timerName, Token token) {  
  | // TODO make the scanning of timers for cancellation optional by only 
deleting the timerjobs in the db.
  |   // of course, the corresponding ejb timer notifications have to be 
ignored. 
  | 
  | log.debug("cancelling timers with name "+timerName+" from the ejb timer 
service");
  | 
  | TimerService timerService = sessionContext.getTimerService();
  | 
  |   Iterator iter = timerService.getTimers().iterator();
  | 
  |   while (iter.hasNext()) {
  |   javax.ejb.Timer ejbTimer = (javax.ejb.Timer) iter.next();
  | if (ejbTimer.getInfo() instanceof TimerInfo) {
  |   TimerInfo timerInfo = (TimerInfo) ejbTimer.getInfo();
  |   if (timerInfo.matchesName(timerName, token)) {
  |   ejbTimer.cancel();
  |   }
  | }
  |   }   
  | }
  | 
 


  | public void deleteTimersForProcessInstance(ProcessInstance processInstance) 
{
  | 
  | // TODO make the scanning of timers for cancellation optional by only 
deleting the timerjobs in the db.
  | // of course, the corresponding ejb timer notifications have to be ignored. 
  | 
  | log.debug("deleting timers for process instance "+processInstance+" 
from the ejb timer service"); 
  |   TimerService timerService = sessionContext.getTimerService();
  |   Iterator iter = timerService.getTimers().iterator();
  |  
  |   while (iter.hasNext()) {  
  | javax.ejb.Timer ejbTimer = (javax.ejb.Timer) iter.next();
  | try {
  | if (ejbTimer.getInfo() instanceof TimerInfo) {  
  
  | TimerInfo timerInfo = (TimerInfo) ejbTimer.getInfo();   
   
  | if (timerInfo.matchesProcessInstance(processInstance)) {

  | ejbTimer.cancel();
  | }
  |   }
  | } catch (Exception e) {
  |   System.out.println("CATCH!");
  | }
  | }
  | 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060585#4060585

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?

2007-07-04 Thread [EMAIL PROTECTED]
"hkarapuu" wrote : Does Seam support conversation scope rollback to previous 
state when browser back button is used or not?

No. In my opinion this is not the true semantics of "back". Back is purely 
navigational, it should not change the underlying state.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060583#4060583

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - No active session context

2007-07-04 Thread curtney
Greetings everyone!

I am recieving a "No active session context" when the timer I have set has 
timed out. 

I am running JBoss 4.2
I am using Seam 2.0 Beta (perhaps relevant).

The following is the code of interest. If I remove the function 
(findInvitation) that accesses the database then everything runs ok.

I  have tried various transaction attribute notation (include using no 
annotations), but still get the error.

Any help is greatly appreciated. Thanks.


  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | @Timeout
  | public void timeout (Timer timer) throws Exception {
  | Long invitationId = (Long)timer.getInfo();
  | //using a dao object to access database.
  | Invitation invitation = findInvitation (invitationId);
  | }
  | 



The following is the relevant debug output:

2007-07-01 22:07:13,741 DEBUG [org.jboss.ejb.txtimer.TimerImpl] run: 
[id=1,target=[target=jboss.j2ee:service=EJB3,ear=phoenix.ear,jar=phoenix-security.jar,name=invitationService],remaining=-3,periode=0,active]
2007-07-01 22:07:13,741 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: 
in_timeout
2007-07-01 22:07:13,745 INFO  [STDOUT] Pre Checking 21 for cancellation
2007-07-01 22:07:13,747 DEBUG [org.hibernate.impl.SessionImpl] opened session 
at timestamp: 4847013207027712
2007-07-01 22:07:13,748 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
2007-07-01 22:07:13,748 DEBUG [org.hibernate.jdbc.JDBCContext] successfully 
registered Synchronization
2007-07-01 22:07:13,752 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
2007-07-01 22:07:13,752 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Transaction already joined
2007-07-01 22:07:13,752 DEBUG [org.hibernate.loader.Loader] loading entity: 
[com.phoenix.security.domain.registration.Invitation#21]
2007-07-01 22:07:13,753 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
open PreparedStatement (open PreparedStatements: 0, globally: 0)
2007-07-01 22:07:13,753 DEBUG [org.hibernate.jdbc.ConnectionManager] opening 
JDBC connection
2007-07-01 22:07:13,755 DEBUG [org.hibernate.SQL] 
select
invitation0_.id as id0_0_,
invitation0_.user_logon as user10_0_0_,
invitation0_.template as template0_0_,
invitation0_.title as title0_0_,
invitation0_.expiration as expiration0_0_,
invitation0_.status as status0_0_,
invitation0_.email as email0_0_,
invitation0_.activation_key as activation7_0_0_,
invitation0_.created as created0_0_,
invitation0_.last_modified as last9_0_0_ 
from
PHOENIX_INVITATION invitation0_ 
where
invitation0_.id=?
2007-07-01 22:07:13,756 INFO  [STDOUT] Hibernate: 
select
invitation0_.id as id0_0_,
invitation0_.user_logon as user10_0_0_,
invitation0_.template as template0_0_,
invitation0_.title as title0_0_,
invitation0_.expiration as expiration0_0_,
invitation0_.status as status0_0_,
invitation0_.email as email0_0_,
invitation0_.activation_key as activation7_0_0_,
invitation0_.created as created0_0_,
invitation0_.last_modified as last9_0_0_ 
from
PHOENIX_INVITATION invitation0_ 
where
invitation0_.id=?
2007-07-01 22:07:13,761 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
open ResultSet (open ResultSets: 0, globally: 0)
2007-07-01 22:07:13,762 DEBUG [org.hibernate.loader.Loader] result row: 
EntityKey[com.phoenix.security.domain.registration.Invitation#21]
2007-07-01 22:07:13,777 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close ResultSet (open ResultSets: 1, globally: 1)
2007-07-01 22:07:13,777 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close PreparedStatement (open PreparedStatements: 1, globally: 1)
2007-07-01 22:07:13,778 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
2007-07-01 22:07:13,778 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing 
JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 
0, globally: 0)]
2007-07-01 22:07:13,778 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving 
associations for [com.phoenix.security.domain.registration.Invitation#21]
2007-07-01 22:07:13,781 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0}
2007-07-01 22:07:13,801 DEBUG 
[org.jboss.ejb3.entity.ManagedEntityManagerFactory] ** closing 
entity managersession **
2007-07-01 22:07:13,802 ERROR [org.jboss.ejb.txtimer.TimerImpl] Error invoking 
ejbTimeout: javax.ejb.EJBTransactionRolledbackException: No active session 
context
2007-07-01 22:07:13,803 DEBUG [org.jboss.ejb.txtimer.TimerImpl] Timer was not 
registered with Tx, resetting state: 
[id=1,target=[target=jboss.j2ee:service=EJB3,ear=phoenix.ear,jar=phoenix-security.jar,name=invita

[jboss-user] [JBoss Seam] - Re: DataModel wrapped data is set to null by ManagedEntityId

2007-07-04 Thread [EMAIL PROTECTED]
Feel free to create a simple test case and create a new issue in JIRA. I will 
take a look. However, I don't guarantee that I will decide that this is a bug. 
I might decide that what you are doing is conceptually broken, and that you 
should be using conversation scope in a different way.

But I need to see the usecase as actual code.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060580#4060580

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-04 Thread jgilbert
its not pretty but i got it to work with the following change. i hope there is 
a better way.


  | public class JSFMetaBridgeFactory
  | {
  | 
  |/** . */
  |private static final Logger log = 
Logger.getLogger(JSFMetaBridgeFactory.class);
  | 
  | private static boolean isJsf12() {
  | try {
  | Object af = 
FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
  | java.lang.reflect.Method m = 
af.getClass().getMethod("getApplication", new Class[]{});
  | Object app = m.invoke(af, new Object[]{});
  | if 
("org.jboss.seam.jsf.SeamApplication12".equals(app.getClass().getName())) {
  | return true;
  | } else {
  | return false;
  | }
  | } catch (Exception e) {
  | throw new RuntimeException(e);
  | }
  | }
  | 
  |public static JSFMetaBridge getMetaBridge()
  |{
  |   JSFMetaBridge metaBridge = null;
  | 
  |   //
  |   String className = 
FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY).getClass().getName();
  |   if 
("com.sun.faces.application.ApplicationFactoryImpl".equals(className))
  |   {
  |  metaBridge = new SunRIJSFBridge();
  |   }
  |   else if 
("org.apache.myfaces.application.ApplicationFactoryImpl".equals(className))
  |   {
  |  metaBridge = new MyFacesJSFBridge();
  |   }
  |   else if 
("org.jboss.seam.jsf.SeamApplicationFactory".equals(className))
  |   {
  |   if (isJsf12()) {
  |  metaBridge = new SunRIJSFBridge();
  |   } else {
  |  metaBridge = new MyFacesJSFBridge();
  |   }
  |   }
  | 
  |   //
  |   if (metaBridge != null)
  |   {
  |  log.debug("Detected JSF bridge " + metaBridge.getName());
  |   }
  |   else
  |   {
  |  log.warn("No bridge detected for application factory " + 
className);
  |   }
  | 
  |   //
  |   return metaBridge;
  |}
  | 
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060578#4060578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060578
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - s:formattedText breaking, and seamspace

2007-07-04 Thread hstang
In my application, it's breaking s:formattedText if I enter the input: 32"
It does this for Seam space too in blog entry.  Why?  How to fix this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060575#4060575

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Cancel a process in a repeated action

2007-07-04 Thread vbub
please let me know if i shall contribute more info that is helpful. i'm not 
sure where to look for a reason of this problem so i need some sort of hint 
here. thank you very much.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060574#4060574

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060574
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Adding .jar files to the classpath of a webapp

2007-07-04 Thread Raist_Majere
Would you mind copying the EAR manifest and the contents of the EAR? Maybe it 
could help more than the foo-bar example...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060573#4060573

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060573
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Reading Runtime Property Files from EAR

2007-07-04 Thread jantzen
Hello,

I'm trying to introduce runtime properties to my EAR-based application.  
Ideally I would read in a default properties file, and then an an overrides 
properties file into a java.util.Properties object to be queried by my 
application at runtime.

Is there a standard way of doing this?  The closet thing I've seen is the 
properties-service.xml mbean, but that looks like it is meant for VM specific 
properties, not application-specific properties.

I've also tried loading the file as a module in my application.xml file but I 
get an "incomplete deployment" error on startup, even when specifying the 
alt-dd element.

Any suggestions? Thanks,
jantzen

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060572#4060572

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems with running the websale example

2007-07-04 Thread petia
Thanks guys,

I have JDK 1.4, JDK 1.5 and JDK 1.6 installed on the same machine. Where/how 
shall I change the setting in jbpm-jpdl-3.2.1 so that JDK 1.5 gets used.

Regards Petia

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060571#4060571

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060571
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to get a reference to Subject

2007-07-04 Thread gmuzzillo
Hi berrysx:

you can use the following to retrieve the subject on ejb3.

Subject subject = (Subject) ic.lookup("java:jaas//subject");

where  stands for the protection domain name you've 
declared login-config.xml

Best regards.
Gustavo


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060569#4060569

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060569
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: process instance and groups

2007-07-04 Thread syngolis
You have to write the pointer with two '-' like this:
group(users)-->member(team leader)

See documentation 
http://docs.jboss.com/jbpm/v3.2/userguide/html/taskmanagement.html#assignment

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060568#4060568

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060568
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems with running the websale example

2007-07-04 Thread syngolis
Agree with ricardomarques. 49.0 means you have to use JDK 1.5


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060567#4060567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: changing hibernate logging level in conf/log4j.xml

2007-07-04 Thread jaikiran
Enclose the contents of your log4.xml in a "code" block while posting. Use the 
"Code" button on the editor window while posting. 

Example:

  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060566#4060566

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread [EMAIL PROTECTED]
Do you have portlet-api-lib.jar in your war ? In case you do please remove it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060565#4060565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @DataModel problem

2007-07-04 Thread Jump
yes. It works fine with seam 1.2.1GA

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060564#4060564

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060564
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread ganeshraja
I am getting error for the following code refered from reference document.

PortletA.java

package sample;
  | 
  | import java.io.IOException;
  | import java.io.PrintWriter;
  | 
  | import javax.portlet.GenericPortlet;
  | import javax.portlet.PortletException;
  | import javax.portlet.PortletSecurityException;
  | import javax.portlet.RenderRequest;
  | import javax.portlet.RenderResponse;
  | 
  | 
  | public class PortletA extends GenericPortlet
  | {
  |protected void doView(RenderRequest request, RenderResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   response.setContentType("text/html");
  |   PrintWriter writer = response.getWriter();
  |   writer.println("");
  |   writer.println("");
  |   writer.println("blue");
  |   writer.println("red");
  |   writer.println("black");
  |   writer.println("");
  |   writer.println("");
  |   writer.println("");
  |   writer.close();
  |}
  | }

PortletB.java


  | package sample;
  | 
  | import java.io.IOException;
  | import java.io.PrintWriter;
  | 
  | import javax.portlet.ActionRequest;
  | import javax.portlet.ActionResponse;
  | import javax.portlet.GenericPortlet;
  | import javax.portlet.PortletException;
  | import javax.portlet.PortletSecurityException;
  | import javax.portlet.RenderRequest;
  | import javax.portlet.RenderResponse;
  | 
  | import org.jboss.portlet.PortalNode;
  | import org.jboss.portlet.event.node.PortalNodeEvent;
  | import org.jboss.portlet.event.node.PortalNodeEventBubbler;
  | import org.jboss.portlet.event.node.PortalNodeEventListener;
  | import org.jboss.portlet.event.node.WindowActionEvent;
  | 
  | public class PortletB extends GenericPortlet
  | {
  | 
  |public void processAction(ActionRequest request, ActionResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   String color = request.getParameter("color");
  |   if (color != null)
  |   {
  |  response.setRenderParameter("color", color);
  |   }
  |}
  | 
  |protected void doView(RenderRequest request, RenderResponse response)
  |   throws PortletException, PortletSecurityException, IOException
  |{
  |   String color = request.getParameter("color");
  |   response.setContentType("text/html");
  |   PrintWriter writer = response.getWriter();
  |   writer.println("some text in color");
  |   writer.close();
  |}
  |
  |// Inner listener 
  |public static class Listener implements PortalNodeEventListener
  |{
  |   public PortalNodeEvent onEvent(PortalNodeEventBubbler bubbler, 
PortalNodeEvent event)
  |   {
  |  PortalNode node = event.getNode();
  |  // Get node name
  |  String nodeName = node.getName();
  |  // See if we need to create a new event or not
  |  WindowActionEvent newEvent = null;
  |  if (nodeName.equals("PortletAWindow") && event instanceof 
WindowActionEvent)
  |  {
  | // Find window B
  | WindowActionEvent wae = (WindowActionEvent)event;
  | PortalNode windowB = node.resolve("../PortletBWindow");
  | if (windowB != null)
  | {
  |// We can redirect
  |newEvent = new WindowActionEvent(windowB);
  |newEvent.setParameters(wae.getParameters());
  |// Redirect to the new event
  |return newEvent;
  | }
  |  }
  |  // Otherwise bubble up
  |  return bubbler.dispatch(event);
  |   }
  |}
  |   
  | }

Portlet.xml


  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";>
  | 
  |
  |   IPCPortletA
  |   sample.PortletA
  |   
  |  text/html
  |  VIEW
  |   
  |   
  |  IPC Portlet A
  |   
  |
  |
  |   IPCPortletB
  |   sample.PortletB
  |   
  |  text/html
  |  VIEW
  |   
  |   
  |  IPC Portlet B
  |   
  |
  | 
  |  

Exception

  org.jboss.portal.portlet.container.PortletInitializationException: The 
portlet IPCPortletA threw a runtime exception during init
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:264)
  | at 
org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.startPortletApplication(PortletApplicationContextImpl.java:130)
  | at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:153)
  | at 
org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:94)
  | at 
org.jboss.portal.serve

[jboss-user] [JBoss Seam] - Re: how to extend EntityQuery

2007-07-04 Thread gmarcus
"fhh" wrote : You must have exactly one value binding in your restriction. Try 
using 
  | 
  |   | p.features=#{true}
  |   | 
  | 

Thanks for the reply.  What you say makes sense.  
I needed to get something up and running so I put the logic in the getEjbql() 
method for now.  
I will go back and try it with restrictions for future classes.

Thanks again,
Glenn

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060560#4060560

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060560
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Federated CR1 Connection Refused

2007-07-04 Thread tmarafon
ok.. tomcat patch...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060557#4060557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 beat few questions

2007-07-04 Thread Kruno
Small mistake it suppose to be  : Seam 2.0 beta few questions?

And one more question is there a way to start conversation from s:link with 
option flush=MANUAL?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060556#4060556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: StackOverflow in deployment

2007-07-04 Thread charlieparker2k7
Hi, I've resolved the error! It's a bug of jboss aop deployer I think, and it 
isn't connect with the number of class in a jar:

1 - is invoked the method ScopedJBossPool for get a class in cache 
(ScopedJBossPool extends ClassPool (javassist project)
- ScopedJBossPool.getCached invoke ClassPool.get (not super.get but on 
ClassPool istance)
- ClassPool.get invoke ClassPool.get0 this method invoker getCached without 
casting: the method is invoked on current istance of ScopedJBossPool and we go 
to 1 ! It's a recursive and infinitive loop!

tomorrow I will send you my solution. I would like to do some more tests


Thomas Buffagni 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060554#4060554

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - This is a bug I think...

2007-07-04 Thread charlieparker2k7
Hi, I've resolved the error!  It's a bug of jboss aop deployer I think, and it 
isn't connect with the number of class in a jar: 

1 - is invoked the method  ScopedJBossPool for get a class in cache 
(ScopedJBossPool extends ClassPool (javassist project)
- ScopedJBossPool.getCached invoke ClassPool.get (not super.get but on 
ClassPool istance)
- ClassPool.get invoke  ClassPool.get0 this method invoker getCached without 
casting: the method is invoked on current istance of ScopedJBossPool and we go 
to 1 ! It's a recursive and infinitive loop!

tomorrow I will send you my solution. I would like to do some more tests


Thomas Buffagni


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060553#4060553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Error in reloading jsp with taglib directive

2007-07-04 Thread heidric
Hi Qaisar ,

I got exactly the same ZipException like you when using JBOSS in combination 
with custom tagLibs in JSP's.

Since I have to solve the same problem could you send me a solution if 
available? My business adress is [EMAIL PROTECTED]

Thanks in advance,

Christof




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060552#4060552

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060552
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Malformed XML Token

2007-07-04 Thread tmarafon
http://www.softplan.com.br/troca/token.JPG

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060551#4060551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060551
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Federated CR1 Connection Refused

2007-07-04 Thread tmarafon
Debugging the class SSOUtil, method getSSOToken(HttpServletRequest 
request,String tokenName), I found out that the token is actually divided in 
two cookies.

[img]http://www.softplan.com.br/troca/token.JPG[/img]

I'm using JBoss 4.0.5, tomcat 5.5.
Help me please!
Thiago

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060550#4060550

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060550
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Seam components remotely...

2007-07-04 Thread [EMAIL PROTECTED]
I have been asked to do the same thing. Please let me know how you make out in 
this post . 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060549#4060549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Deploying XWiki using JBOSS / Oracle.

2007-07-04 Thread rgordon
I am having a problem getting xwiki 1.1 to deploy using jboss and as I am sure 
it a config problem on my side I thought it OK to post here for some advance.

I have setup an Oracle Datasource and deployed it using the following (it seems 
to deploy fine)


  | 
  | 
  |   
  | jdbc/XWikiDS
  | jdbc:oracle:thin:@serv1:1521:oradb
  | oracle.jdbc.driver.OracleDriver
  | xwiki_test
  | password
  | 5
  | 20
  | 5
  |   
  | 
  | 

I then altered the the web.xml in the war file to the following :-


  | 
  |DB Connection
  |jdbc/XWikiDS
  |javax.sql.DataSource
  | Container
  |  

and finally added a jboss-web.xml file to the war


  | http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd";>
  | 
  |   
  | jdbc/XWikiDS
  | java:jdbc/XWikiDS
  |
  | 

However when I deploy the app as an exploded war I get expection error due to 
the following problem.

  status: Deployment FAILED reason: Error during deploy; - nested throwable: 
(javax.naming.NamingException: resource-ref: jdbc/XWikiDS has no valid JNDI 
binding. Check the jboss-web/resource-ref.)

Any help in what I am doing wrong in the configuration would be appreciated.

Thanks,

Richard


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060547#4060547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-04 Thread jgilbert
i did and got the same result. see posting above at 17:57 PM.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060546#4060546

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060546
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @DataModel problem

2007-07-04 Thread Delphi's Ghost
Is getProcessDefinitions() defined in your ToolBar interface?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060543#4060543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @DataModel problem

2007-07-04 Thread Jump
In this way it works

  | @DataModel
  | private List processDefinitions;
  | @DataModelSelection("processDefinitions")
  | private ProcessDefinition selectedProcess = null;
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060539#4060539

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-07-04 Thread [EMAIL PROTECTED]
Use the event mechanism, there is an example in the documentation.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060538#4060538

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060538
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - How to get a reference to Subject

2007-07-04 Thread berrysx
I'm in the process of migrating to EJB3.0.

I used to access the Subject in a stateless session bean as follows:

Subject subject = (Subject) ic.lookup("java:comp/env/security/subject");

But in the same bean using EJB3 this code throws:
  javax.naming.NameNotFoundException: env not bound

My question is how do I get a reference to the Subject?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060536#4060536

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060536
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems with running the websale example

2007-07-04 Thread ricardomarques
"Unsupported major.minor version 49.0"

This reminds me different JVM versions errors.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060535#4060535

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060535
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: excess UIL2 threads

2007-07-04 Thread oglueck
Ok, thanks. As the bug was fixed in 4.0.4RC1, we should be safe with 4.0.4GA.
So the pool was introduced as a fix against deadlocks. Okay, but this way the 
delivery order of messages is not known anymore (depends on scheduler). 
Couldn't that cause more trouble during bursts?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060534#4060534

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060534
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Encypted Passwords in datasources: Custom Login Module?

2007-07-04 Thread [EMAIL PROTECTED]
Use the security forum to get answers to your questions. 

Custom login module configuration is done conf/login-config.xml
and can be anything you like. You just tell JCA which one to use as described 
on the WIKI
(security-domain).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060533#4060533

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060533
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: page action not called when login-required=

2007-07-04 Thread rlhr
I'm not quite ready to switch to Seam2 now, so I will look as soon as I can and 
let you know.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060532#4060532

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060532
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: excess UIL2 threads

2007-07-04 Thread [EMAIL PROTECTED]
Make sure you have this fix:
http://jira.jboss.com/jira/browse/JBAS-2476

I haven't had time to test UIL2 without the thread pool.
But problems like JBAS-2476 were why it was introduced.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060531#4060531

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060531
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Need IPC Sample

2007-07-04 Thread ganeshraja
 I need Inter Portlet Communication portlet sample for JBoss Portal 2.6 GA 
version..

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060530#4060530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - @DataModel problem

2007-07-04 Thread Jump
I have a simple bean with DataModel and DataModelSelection

  | @Stateful
  | @Name("toolbar")
  | @Scope(ScopeType.SESSION)
  | public class ToolbarImpl implements Toolbar {
  |  
  |...
  | 
  | @DataModel
  | public List getProcessDefinitions() {
  | return processDefinitions;
  | }
  | 
  | @DataModelSelection("processDefinitions")
  | private ProcessDefinition selectedProcess = null;
  | 
  | public String createProcess() {
  | 
  | System.out.println(selectedProcess + " process started");
  | return null;
  | }
  | 
  | }
  | 
And a simple page

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

and a simple exception


  | Caused by java.lang.IllegalArgumentException with message: "Could not 
invoke method by reflection: ToolbarImpl.getProcessDefinitions() with 
parameters: (java.util.ArrayList) on: virtprofstud.ToolbarImpl"
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060529#4060529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: process instance and groups

2007-07-04 Thread ricardomarques
I get an error trying to do that: org.jbpm.graph.def.DelegationException: 
couldn't resolve assignment expression 'group(users)->member(team leader)'

PS: i'm looking at the database, there is no another group users.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060528#4060528

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060528
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: charset encoding problem with the jsr181pojo sample : ec

2007-07-04 Thread floefliep
Who else has encountered this problem? Since it affects all non-ASCII UTF-8 
characters, it should be basically everybody who's not using English in their 
webservice app ...

Note my patch for 1.2.1GA (comes with JBoss 4.2.0GA) in the post above.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060526#4060526

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060526
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JBOSS-WS Client not sending COOKIE after 2 calls

2007-07-04 Thread fredash
Hi,

I just tested under JBoss AS 4.0.5 & JBossWS 1.2.1 a session mecanism based on 
the HTTP Session Cookie (with a code sample from Rama Pulavarthi's blog).

Here is the Web Service code:

  | @WebService
  | public class Hello {
  | @Resource
  | private WebServiceContext wsContext;
  | public int getCounter(){
  | MessageContext mc = wsContext.getMessageContext();
  | HttpSession session = 
((javax.servlet.http.HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
  | // Get a session property "counter" from context
  | if (session == null)
  | throw new WebServiceException("No session in 
WebServiceContext");
  | Integer counter = (Integer)session.getAttribute("counter");
  | if (counter == null) {
  | counter = new Integer(0);
  | System.out.println("Starting the Session");
  | }
  | counter = new Integer(counter.intValue() + 1);
  | session.setAttribute("counter", counter);
  | return counter;
  | }
  | }
  | 

Here is the Web Service Client code:

  | Hello proxy = new HelloService().getHelloPort();
  | 
((BindingProvider)proxy).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,true);
  | int result = proxy.getCounter();
  | System.out.println(result);
  | result = proxy.getCounter();
  | System.out.println(result);
  | result = proxy.getCounter();
  | System.out.println(result);
  | 

The first 2 calls to proxy.getCounter() method just worked as expected : On the 
first call, a new session is created by the Web-Service and a SET-COOKIE is 
sent by the HTTP transport layer to the Client.

The second call to proxy.getCounter() generates a SOAP message with the COOKIE 
received after the first call.

BUT, when a 3rd call is fired, the client do not send anymore the COOKIE and 
then the server re-creates a new session.

The problem seems to be at the client level, when the client stops to send the 
COOKIE value after the second call.

** BTW, this code is  for testing purpose and i know that the session mecanism 
in Web Services should ideally be implemented with the WS-Addressing mecanism.

Thanks in advance for your suggestions.

Fred.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060524#4060524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:selectDate doesn't work in IE6?

2007-07-04 Thread [EMAIL PROTECTED]
This has been fixed in CVS already.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060523#4060523

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060523
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - s:selectDate doesn't work in IE6?

2007-07-04 Thread ASavitsky
The script for s:selectDate seems to choke on the following line (Seam 2B 
official distribution):

org.jboss.seam.ui.resource.date.calendar.js, line 458:
if (divs != popupDiv && divs.style && !/\D/(divs.style.zIndex))

Apparently, IE doesn't like the "/\D/" part, and, frankly, I don't even have an 
idea on what this expression is supposed to achieve, otherwise I'd have 
submitted the patch already... BTW, removing that last expression makes popup 
to work on IE.

I checked the latest CVS, and it looks like the whole file is deleted now - 
what happened to it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060521#4060521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060521
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea

2007-07-04 Thread [EMAIL PROTECTED]
can you try with Sun RI ?

why do you need to replace with MyFaces ?

"jgilbert" wrote : you can reproduce the error using the examples/portal from 
the seam 1.2.1.GA distribution.
  | 
  | steps:
  | - install portal 2.6 on AS 4.2
  | - replace the jsf libs with myfaces per the wiki
  | - build seam/examples/portal
  | - copy war and datasource to deploy dir
  | - start app server
  | 
  | the exception from the original posting will be generated

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060518#4060518

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060518
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Class type issue

2007-07-04 Thread lcoetzee
Hmmm.. but the problem comes in later. I do 
  | 
  |  bla bla bla
  | 
  | 

Which works very well to display a specific thing based on the class type. 
Issue is that because of this manipulation, those that have been manipulated 
are of the wrong type

So why are only some of them manipulated ?

Very curious.

L


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060517#4060517

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060517
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why doesn't this h:message work for the h:selectOneMenu?

2007-07-04 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Whats the message (aka where is it originating)

Hi Pete,

I was looking at one approach to doing custom validations, and testing out how 
the error messages show up. The approach in this system is the "form" and 
"action" style. I added messages in the action. Here is how it looks:


  | @Name("inspectionSearchAction")
  | @Scope(ScopeType.SESSION)
  | public class InspectionSearchActionImpl implements InspectionSearchAction {
  | 
  | @Logger
  | Log log;
  | 
  | @In
  | FacesMessages facesMessages;
  | 
  | public void search() {
  | try {
  | facesMessages.addToControl("territoryNumber","territoryNumber");
  | 
facesMessages.addToControl("riskControlRepNumber","riskControlRepNumber");
  | facesMessages.addToControl("accountNumber","accountNumber");
  | 
facesMessages.addToControl("selectedPriority","selectedPriority");
  | facesMessages.addToControl("companyName","companyName");
  | facesMessages.addToControl("selectedState","selectedState");
  | facesMessages.addToControl("city","city");
  | facesMessages.addToControl("county","county");
  | facesMessages.addToControl("zipCode","zipCode");
  | 
facesMessages.addToControl("surveyRangeStart","surveyRangeStart");
  | facesMessages.addToControl("surveyRangeEnd","surveyRangeEnd");
  | 
facesMessages.addToControl("inspectionCompleteRangeStart","inspectionCompleteRangeStart");
  | 
facesMessages.addToControl("inspectionCompleteRangeEnd","inspectionCompleteRangeEnd");
  | } catch (Exception e) {
  | log.error(e);
  | }
  | }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060516#4060516

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060516
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: process instance and groups

2007-07-04 Thread petia
Sorry, I have problems with writing xml code in my posts. They appear when I am 
writing, but not in the posted text. Below is the xml snippet I suggest to be 
tested in the previous post. It is an assignment expression.

group(groupname) -> member(rolename)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060513#4060513

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060513
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problems with running the websale example

2007-07-04 Thread petia
Hi again,

Finally, I succeeded to install jbpm-jpdl-3.2.1 (through the 
jbpm-jpdl-suite-3.2.1.zip file). It is simple, but the installation direction 
in the jbpm-jpdl-3.2.1/designer/readme.html file could be improved by properly 
outlining the two installation options, i.e. ?run ant install? is only needed 
if one goes for the installation through ?run download eclipse? option. 

Anyway, now I am running into a new problem. I am executing the websale process 
provided with the installation. When I reach the ?deferred choice? i.e. I need 
to select between the alternatives ?End: More information needed? and ?End: OK? 
and I select one of them, I get the Exception report attached below.

I assume the example is correct and that I am doing something wrong. What am I 
doing wrong? (If more information is needed I am happy to provide it.)

Kind regards, Petia

PS I am also getting the following warnings when starting the server.
[FromElementType] Using non-qualified column reference [processInstance 
->([PROCESSINSTANCE_])
[FromElementType] Using non-qualified column reference [isSuspended -> 
([ISSUSPENDED_])
[FromElementType] Using non-qualified column reference [tiken -> ([TOKEN_])
[FromElementType] Using non-qualified column reference [id -> ([ID_])
[FromElementType] Using non-qualified column reference [processInstance -> 
([PROCESSINSTANCE_])
[FromElementType] Using non-qualified column reference [isSuspended -> 
([ISSUSPENDED_])
[FromElementType] Using non-qualified column reference [tiken -> ([TOKEN_])
[FromElementType] Using non-qualified column reference [processInstance -> 
([PROCESSINSTANCE_])

Maybe, I still have not got the installation right.
I am grateful for any help. 



- Exception report --
The server encountered an internal error () that prevented it from fulfilling 
this request.
exception 
javax.servlet.ServletException: Servlet execution threw an exception

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.UnsupportedClassVersionError: org/jbpm/websale/ShipItem (Unsupported 
major.minor version 49.0)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:539)
java.lang.ClassLoader.defineClass(ClassLoader.java:448)

org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:60)
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
org.jbpm.instantiation.Delegation.instantiate(Delegation.java:140)
org.jbpm.instantiation.Delegation.getInstance(Delegation.java:125)
org.jbpm.instantiation.Delegation$$FastClassByCGLIB$$6bae1598.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)

org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$d6a04f9f.getInstance()
org.jbpm.graph.def.Action.execute(Action.java:121)
org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
org.jbpm.graph.def.Action$$EnhancerByCGLIB$$520793a1.execute()
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255)
org.jbpm.graph.def.Node.execute(Node.java:338)
org.jbpm.graph.def.Node.enter(Node.java:318)
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$589d9a45.enter()
org.jbpm.graph.def.Transition.take(Transition.java:151)
org.jbpm.graph.def.Node.leave(Node.java:393)
org.jbpm.graph.def.Node.leave(Node.java:368)
org.jbpm.graph.node.Fork.execute(Fork.java:140)
org.jbpm.graph.def.Node.enter(Node.java:318)
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$589d9a45.enter()
org.jbpm.graph.def.Transition.take(Transition.java:151)
org.jbpm.graph.def.Node.leave(Node.java:393)
org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
org.jbpm.graph.node.TaskNode$$FastClassByCGLIB$$923668a4.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$94a14a03.leave()
org.jbpm.graph.exe.Token.signal(Token.j

[jboss-user] [JBoss jBPM] - Re: process instance and groups

2007-07-04 Thread petia
An idea: check the spelling of the group. You use plural form. In version 3.2.1 
there is a predefined group called user (singular form). 
If it does not work test 

This worked in version 3.1.2, unfortunately only if there was one member 
defined with the specified member/role. It did not worked if there were several 
members in the group with the same role (i.e. the member part of the expression 
above). The assignment data was stored in the database, but the web interface 
did not support the pooling of offered tasks by the user.
Good luck! I am interested in the same issue and if you get group distribution 
working I will appreciate if you could share your solution. 
Kind regards, Petia

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060510#4060510

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060510
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Writing WS client returning complex object

2007-07-04 Thread davideling
wsconsume "consume" WSDL documents

so from WSDL documents you get Java artifacts.

Your auto-generated WSDL have a "parameters" part
that is an element. It's type is "tns:getTestClass"...
a complex type.


  | ...
  | 
  | 
  |   
  | 
  | 
  | ...
  | 
  | ...
  | 
  |
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060508#4060508

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060508
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Which jars are reqd for Facelets with JBoss 4.2 ?

2007-07-04 Thread mailmustu
HI,
I would like to know which JAR files need to be included to run a Facelets 
application on JBoss 4.2

SInce I am using facelets, I cannot add jsf-api and jsf-impl jars
Do I have to add el-ri and el-api jars in jboss 4.2 also ?
Do I have to add 2 apache myFaces jars also ?

I am very confused.
Pls paste a list of all jar file needed.

Thanks in advance.
Mustafa

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060507#4060507

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060507
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Remote Login using custom LoginModule

2007-07-04 Thread gscalise
Thanks Wolfgang, but I have a problem with this... Our custom loginmodule uses 
an aditional type of Callback, which ClientLoginModule isn't able to handle...

Also, in which way does the authenticated principal from ClientLoginModule 
propagate to the ejb3 container and its security domain?

Kind Regards,
Guido

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060505#4060505

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060505
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JAAS, login configuration + Hi everybody

2007-07-04 Thread Wolfgang Knauf
Hi Pablo,

the security-constraint looks OK to me.

Is your login module a subclass of 
org.jboss.security.auth.spi.UsernamePasswordLoginModule ? In a small login 
module I created myself I had to implement "getUsersPassword" and 
"getRoleSets", and both were called.

"getRoleSets" should return either "Administrators" or "Route Managers" in your 
case.

You have probably defined the security domain in jboss-web.xml ?

Best regards

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060504#4060504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060504
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Writing WS client returning complex object

2007-07-04 Thread GenesisD
"davideling" wrote : 
  | 
  | Looking your WSDL I saw that the input part is a complex type.
  | 

No,  output is complex, input  is just a String.

"davideling" wrote : 
  | Sorry for my english, but
  | I'm italian ;)
  | 

Me too

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060503#4060503

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060503
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam2.0B1: Asynchrony and mailer applications

2007-07-04 Thread hstang
I tried putting @Transactional on the Mailer component but I still get the same 
error.  No transaction in progress.  I also put @Transactional on the client 
component that calls the mailer, but I still get it.  Why is it complaining 
that tx is non-existent?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060502#4060502

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060502
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >