[jboss-user] [Security JAAS/JBoss] - two authorization/authenications mechanisms in one j2ee app

2009-03-22 Thread adamzrk
Hi I've got big problem. There is the system on which I do work, it uses NTLM to autheticate the user. There is special authenticator - the same like NtlmHttpFilter from Jcifs, but not a servlet - a special class (which is derived from AuthenticationBase from tomcat jars) packaged as jar

[jboss-user] [EJB 3.0] - protocol used in invoing ejb by local interface?

2007-06-23 Thread adamzrk
Hi When we communicate with session bean by remote interface, jboss uses rmi-iiop, but which protocol is used in communication with local interface? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057110#4057110 Reply to the post :

[jboss-user] [EJB 3.0] - Which protocol is used in jta transaction propagation with e

2007-06-22 Thread adamzrk
Hi Can anyone tell me which protocol is used in transaction propagation? And where can I find info about the structure of these communicates? Regards Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056862#4056862 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - What protocol is used in jms message sending...?

2007-06-22 Thread adamzrk
Hi What protocol is used to send jms messages to quiues and from quiues to message driven beans? I would like to know which protocol is used to propagate transaction context to jms sessions? Any link or article will be very helpful. Regards, Adam View the original post :

[jboss-user] [EJB 3.0] - org.hibernate.transaction.JTATransactionFactory doesn't comm

2007-06-22 Thread adamzrk
Hi I've set the hibernate.transaction.factory_class property to value org.hibernate.transaction.JTATransactionFactory . After this change i've noticed that there is no commit, the changes are affected only if I manually invoke flush on entityManager instance. Is there something I should

[jboss-user] [EJB 3.0] - Re: Which protocol is used in jta transaction propagation wi

2007-06-22 Thread adamzrk
No, I didn't mean that. There are transaction attributes not the protocol used in transporting transaction context. Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056986#4056986 Reply to the post :

[jboss-user] [EJB 3.0] - source code - where is the download or svn path?

2007-06-21 Thread adamzrk
Hi Can anyone tell me where can I find the source code for jboss ejb3? I can't find it anywhere. Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056585#4056585 Reply to the post :

[jboss-user] [EJB 3.0] - Re: difference between @Version and EntityManager.lock

2007-06-10 Thread adamzrk
So, i guess, when using only version without lock there won't be increment of version attribute? Is it possible? I thought that version is always incremented after update. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052886#4052886 Reply to the post :

[jboss-user] [EJB 3.0] - difference between @Version and EntityManager.lock

2007-06-09 Thread adamzrk
Hi What is the difference between @Version and EntityManager.lock method? When I use @version then If one client is updating entity the version attribute is being increased and if another client wants to update the same entity the OptimisticLockException is thrown - there is no wainting for

[jboss-user] [EJB 3.0] - debugging transactions

2007-06-08 Thread adamzrk
Hi I want to know what is going on in my app - especially in the area of transactions. What package is responsible for transactions in jboss - I want to append appropriate code in log4j.xml file. I have tried org.jboss.tm but result is that I don't see any log - even from my app. Regards

[jboss-user] [EJB 3.0] - tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
Hi I've got an EJB: | @Stateless | @TransactionAttribute(TransactionAttributeType.SUPPORTS) | public class AirportDaoBean implements AirportDaoLocal, AirportDaoRemote { | | @PersistenceContext | private EntityManager manager; | | @Override | public void

[jboss-user] [EJB/JBoss] - tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
Hi I've got an EJB: | | @Stateless | @TransactionAttribute(TransactionAttributeType.SUPPORTS) | public class AirportDaoBean implements AirportDaoLocal, AirportDaoRemote { | | @PersistenceContext | private EntityManager manager; | | @Override | public

[jboss-user] [EJB/JBoss] - Re: tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
I know what all transaction attributes mean and I do not want the REQUIRED attribute. According to specification jboss have implemented tx support not very well. Regards Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050762#4050762 Reply to the

[jboss-user] [EJB 3.0] - Re: [BUG] - Error during deployment

2007-04-13 Thread adamzrk
I build it with eclipse where java version is 5.0. Like I said earlier when I change import from javax.persistence.Entity to org.hibernate.annotations.Entity then deploy is successfull but no tables are generated in db. Regards Adam View the original post :

[jboss-user] [EJB 3.0] - Re: [BUG] - Error during deployment

2007-04-12 Thread adamzrk
It's formatting issue.. There should be elements, but without them the result is the same. Regards Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036617#4036617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036617

[jboss-user] [EJB 3.0] - Re: [BUG] - Error during deployment

2007-04-12 Thread adamzrk
| ?xml version=1.0 encoding=UTF-8? | persistence xmlns=http://java.sun.com/xml/ns/persistence; |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; |

[jboss-user] [EJB 3.0] - [BUG] - Error during deployment

2007-04-11 Thread adamzrk
Hi When I deploy my ear file i have got the stacktrace: 21:58:06,703 INFO [Ejb3Configuration] found EJB3 Entity bean: airport.bean.entity.Airplane 21:58:06,703 INFO [Ejb3Configuration] found EJB3 Entity bean: airport.bean.entity.Airport 21:58:06,703 INFO [Ejb3Configuration] found EJB3 Entity

[jboss-user] [JBoss Portal] - Re: how to create my own portal?

2007-02-26 Thread adamzrk
I don't believe that no one knows... Are there no tutorials about it..? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022668#4022668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022668

[jboss-user] [JBoss Portal] - how to create my own portal?

2007-02-24 Thread adamzrk
I have one question: how to create my own portal, which will be available under the context /portal/portal/myPortal? I know that I have to create web.xml, portlet.xml, jboss-portlet.xml, portlet-instances.xml, myPortal-object.xml, but where to configure the layout (p:region) ? Why I see the

[jboss-user] [JBoss Portal] - Re: jboss portal caches request...

2007-01-17 Thread adamzrk
No one knows? :(( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003014#4003014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003014 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - jboss portal caching request...

2007-01-16 Thread adamzrk
Can anyone tell me how to set off caching portlet requests in jboss portal. I don't want situation like this: I go to some page, for example: /portal/portal/myPortal/pageA and I submit a form in some window, then I go to some other page, and when I go back to the page pageA jboss portal

[jboss-user] [Installation, Configuration Deployment] - jboss automatically clears temporary files.

2006-12-02 Thread adamzrk
Hello, I have a portal system based on jboss portal. One of the functionality is file uploading. I have a list with files on portlet, when i click submit i try to save them in some repository, but I noticed that when I click it there are no files in $JBOSS_HOME\work\jboss.web\my_portal - they

[jboss-user] [JBoss Portal] - how to logout? - problem with setWantSignOut

2006-09-19 Thread adamzrk
Hi I have portal, users ate logged in by jboss mechanisms. I want to log out user this way: | JBossActionResponse actionResponse = (JBossActionResponse) response; | actionResponse.signOut(); | | //actionResponse.setWantSignOut(true); |

[jboss-user] [JBoss Portal] - Re: how to logout? - problem with setWantSignOut

2006-09-19 Thread adamzrk
I have no idea what to do with this CommandWrapper. Can You give me an example? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972559#3972559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972559

[jboss-user] [JBoss Portal] - Re: how to logout? - problem with setWantSignOut

2006-09-19 Thread adamzrk
and where to write and use it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972560#3972560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972560 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: how to logout? - problem with setWantSignOut

2006-09-19 Thread adamzrk
Maybe some code will be helpfull: | JBossActionResponse actionResponse = (JBossActionResponse) response; | actionResponse.signOut(); | | JBossActionRequest actionRequest = (JBossActionRequest) request; |

[jboss-user] [JBoss Portal] - where to store objects between action and render?

2006-09-09 Thread adamzrk
Hi I wonder if there is another way to store objects in portlets between these tho phases not in PortletSession, like now I do. I think that saving an object as a portlet attribute isn't good because of thread-safety and in ThreadLocal because of clustering. Thnks in advance for any valuable

[jboss-user] [JBoss Portal] - interaction between servlet and portlet

2006-09-09 Thread adamzrk
Hello again :) I've got nontrivial problem - i have written a jsp tag - this tag generates a a href markup, which should target to a servlet/servlet filter, which should redirect to some portlet. Also in this servlet/filter some objects should be placed in PortletSession. But is it possible? I

[jboss-user] [JBoss jBPM] - problem with spring mvc

2006-09-01 Thread adamzrk
I use spring mvc with jboss portal. Sometimes when I use simpleformcontroller with command object i get exception: | org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault portal does not exist | at

[jboss-user] [JBoss Portal] - problem with spring mvc

2006-09-01 Thread adamzrk
I use spring mvc with jboss portal. Sometimes when I use simpleformcontroller with command object i get exception: | | org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault portal does not | exist | at

[jboss-user] [EJB 3.0] - Re: Problems about EJB3

2006-07-11 Thread adamzrk
It's a mistake. It's obvious that it should be manager.persist(..); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3957118#3957118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3957118