[jboss-user] [EJB 3.0] - correct usage of EntityManager in a thread under JBossAS 4.

2007-02-12 Thread guava
Hi, I'm looking for a correct way to use an EntityManager inside a thread of JBossAS. I have a EJB3 service object that spins a thread to handle a request. Inside the thread I need to perform a named query using an EntityManager. I tried passing an EntityManager that was obtained using injecti

[jboss-user] [Installation, Configuration & Deployment] - Re: jboss server start up problem on AIX 5.2

2007-02-12 Thread muralimadhav_123
Hi Peter Johnson, As you suggested I have removed -server option from run.conf file for JAVA_OPTS environment variable and started the JBOSS server. it started well but with the following exception message: 22:13:34,273 WARN [ServiceController] Problem starting service jboss:service=Co rbaNam

[jboss-user] [JBoss Seam] - Remoting -> Progress Indicator?!

2007-02-12 Thread mugwump
We are transporting quite a lot of load with remoting, so it takes a serious amount of time to finish the remote-call on slow lines. We are currently just showing a progress-animation, but this gives no indication, how much was downloaded (and if there is happening anything at all). Is there a

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread gsegura
Thanks a lot for your reference. It's quite impressive the evolution speed of the framework. By the way, the manual of 1.1.6GA doesn't contain such section (12.2.6) neither the seamspace example includes those nice tags. Regards, View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [EJB 3.0] - Re: urgent .. help needed in javax.naming.CommunicationExcep

2007-02-12 Thread deepali.bhosale
"ravishbhupesh" wrote : which ejb bean r u using. I mean for entity bean u need to package in a par archive and for session bean u need to package in a ejb3 archive in case of Jboss. Hi Thanks for the prompt reply. I am using stateful session bean. I did't understand how to package in a ejb3 ar

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread [EMAIL PROTECTED]
Yeah, thats wrong. Now fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015644#4015644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015644 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: urgent .. help needed in javax.naming.CommunicationExcep

2007-02-12 Thread deepali.bhosale
Hi Thanks for the prompt reply. I am using stateful session bean. I did't understand how to package in a ejb3 archive. Please explain this as i don;t know how to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015643#4015643 Reply to the post : http

[jboss-user] [JBoss Seam] - Re: @Transactional with hibernate in MC not working

2007-02-12 Thread baz
Hello, you can find an example stacktrace at the mentioned url. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101307 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015640#4015640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBossCache] - Re: PojoCache support JDK5.0 Enum bug, is there a work aroun

2007-02-12 Thread emailmsgbox
nothing ? :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015639#4015639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015639 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread twocoasttb
Bingo. Thanks, Gavin. pages.xml in seamspace (CVS) uses the tag in the handlers. Should those be taken out? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015638#4015638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread [EMAIL PROTECTED]
anonymous wrote : I'm obviously missing something in my configuration because it's not working. Actually you have something extra. Get rid of in the handler. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015637#4015637 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread [EMAIL PROTECTED]
anonymous wrote : What I'm really missing is the possiblity to start a new pageflow within an existing one and to return upon the end of the inner one to the page where one has left the outer / started the inner pageflow. If I'm understanding you correctly, you are asking for a nested pageflow t

[jboss-user] [JBoss Seam] - Re: Constructor versus @Create annotation

2007-02-12 Thread [EMAIL PROTECTED]
yes, exactly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015635#4015635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015635 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [EJB 3.0] - Re: placing ejb 3 session bean inside WAR

2007-02-12 Thread ravishbhupesh
As far as I know JBoss 4.0.x does not yet support deploying a persistence archive with WEB-INF/lib . Its written in spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015634#4015634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [EJB 3.0] - Re: urgent .. help needed in javax.naming.CommunicationExcep

2007-02-12 Thread ravishbhupesh
which ejb bean r u using. I mean for entity bean u need to package in a par archive and for session bean u need to package in a ejb3 archive in case of Jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015632#4015632 Reply to the post : http://www.jboss

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread twocoasttb
Gavin, thanks for pointing that out. I'm obviously missing something in my configuration because it's not working. I have the following (deployed to 4.0.5.GA) components.xml | | | | /META-INF/security-rules.drl |

[jboss-user] [EJB 3.0] - Session Bean -> Entity Bean

2007-02-12 Thread ravishbhupesh
How will a session bean look up for an entity bean when both are packed in different jars i:e session bean in *.ejb3 and entity bean in *.par . *.ear -> *.par -> *.ejb3 -> *.war at time of deployment it is giving error saying that factory manager must not be NULL... V

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
^ Reading the above again I wrote I down wrong: actually I consider a pageflow a transaction (with a manual flush mode so stuff is saved at the end of the pageflow / transaction). What I mean is that I would expect to get the transaction from the inner pageflow "merged" into the transaction of

[jboss-user] [JBoss Seam] - Re: Constructor versus @Create annotation

2007-02-12 Thread gmanwani
Thanks Gavin for the clarification. Is there something stopping us from doing that i.e can we not inject/outject objects during construction? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015620#4015620 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - urgent .. help needed in javax.naming.CommunicationException

2007-02-12 Thread deepali.bhosale
Hi All, I have created one small EJB application to learn EJB with JBoss. I have deployed the BookBean.jar file in the JBOS. the foloowing message i get while starting the JBoss server. 11:47:30,312 INFO [EjbModule] Deploying BookBean 11:47:30,609 INFO [EJBDeployer] Deployed: file:/C:/JBOSS/jbo

[jboss-user] [JBoss Portal] - Re: Errors when stopping Portal Server

2007-02-12 Thread dleerob
I am using JBoss Portal 2.4.1, building it from source. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015616#4015616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015616 ___

[jboss-user] [JBoss Portal] - Re: HOWTO: Replace portal authentication and authorization

2007-02-12 Thread dleerob
I had some issues when enabling LDAP authentication using JBoss Portal 2.4.1. The authentication worked, but the securities did not. This is what I ended up doing. Maybe it will help you in some way: - I downloaded the source (2.4.1) so I could build the JBoss Portal myself. - I DID NOT enable

[jboss-user] [JBoss and NetBeans] - Which should be the best platform for JBoss?

2007-02-12 Thread smart_aju2007
Hi Friends, I m new to JBoss. I don't know whether my question is correct or not. But i want to know which platform is best for JBoss, means for performance, IDE etc. Please suggest me possible issues regarding this. Thanking you, Ajit View the original post : http://www.jboss.com/index.html

[jboss-user] [JNDI/Naming/Network] - 4.0.5 GA, SerialVersion and legacy serialVersionUID

2007-02-12 Thread opium
Any idea where SerialVersion disappeared in JBoss 4.0.5 GA? ... It was used to allow 4.0.x hosted clients to invoke EJBs in 3.2.x (<3.2.8) beans, through the use of -Dorg.jboss.j2ee.LegacySerialization. Now there is no mention of such a flag in the code, and thus I'm having problems getting my

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
I'm not sure if I understood you right (may be my english ;)). I don't consider a pageflow a transaction but more something like a workflow / unit of work - therefore stuff is probably only saved at the end of the pageflow when all necessary input is entered (at least this is how I used it most

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread saeediqbal1
spambob: did you try the to see if it actually does what you want ? redirection to the middle of a transaction? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015609#4015609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
Sorry to hijack this because my problem isn't related to the security stuff but more to redirect.captureCurrentView & redirect.returnToCapturedView. What I'm really missing is the possiblity to start a new pageflow within an existing one and to return upon the end of the inner one to the page wh

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread saeediqbal1
Good Job @Jboss Team! . Keep up the good work, keep the good stuff coming and let us test it for you :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015600#4015600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=401560

RE: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Memory leak caused byConnection$PingTask

2007-02-12 Thread KOMORI Yusuke
Thank you for providing a patch. I'll try this one. Yusuke KOMORI / SMG Co.,Ltd. ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [EJB 3.0] - why Ejb cant invoke destroy method?

2007-02-12 Thread mnrz
Hello I am using JBoss Seam 1.1.6 GA and Apache Tomcat 5.5.17 and Seam is using embedded Ejb in tomcat. I have one Stateful and one conversational bean in my project. sometimes the Seam can not invoke the destroy() method and throws an exception. this exception can been seen on tomcat console w

[jboss-user] [EJB 3.0] - Jpa with Parent/Child Relationship in Same Object

2007-02-12 Thread cfrostrun
Does anybody have an idea where I'm going wrong... here's my table structure for Comment id| integer | not null website_id| integer | not null event_id | integer | not null parent_id | integer

[jboss-user] [JBoss Seam] - Re: Conversation-scoped JavaBean

2007-02-12 Thread lightbulb432
Other entities are getting correctly injected into the JavaBean. I read the documentation section on JavaBeans, but I'm not sure if there are some restrictions on what can successfully be injected into them, and on what the scopes of the JavaBean, injected components, etc must be. View the orig

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread [EMAIL PROTECTED]
Look at components.xml in the seamspace example. Here's the relevant bits: | | | | | | | | This feature is also covered in the Seam documentation, in section 12.2.6 (the security chapter). View the original post : http://www.jboss

[jboss-user] [JBoss Seam] - Re: Constructor versus @Create annotation

2007-02-12 Thread [EMAIL PROTECTED]
Injection is not defined in constructors. That is why we have the @Create method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015579#4015579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015579

[jboss-user] [JBoss Seam] - Re: seam-gen setup bug (hibernate.default_schema)

2007-02-12 Thread [EMAIL PROTECTED]
Please report it in JIRA. Workaround is to delete seam-gen/build.properties when switching to MySQL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015578#4015578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015578 _

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-12 Thread sreejava
Hi Davewebb, Kindly let me know one more thing. Should i do the installation of apache and make these configurations in both the nodes?. to monitor the state of each server And regarding adding mod_Jk into apache; i think u suggested correctly. Becoz the folder where i put the ".so" was full

[jboss-user] [JBoss Seam] - Re: Security logout method

2007-02-12 Thread [EMAIL PROTECTED]
Either (a) Add an @Destroy method to any session scope component (you may also need to annotate it as @Startup) Or: (b) Add an observer to the event org.jboss.seam.preDestroyContext.SESSION View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015576#4015576 R

[jboss-user] [JBoss Seam] - Re: How: Create multiple sub-entities in one single form

2007-02-12 Thread [EMAIL PROTECTED]
So you are trying to make new objects persistent? Then you need to call persist(), or you need to add them to a collection with cascade=PERSIST. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015573#4015573 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: Second JBoss Seam Book Released

2007-02-12 Thread [EMAIL PROTECTED]
Seam APIs are pretty stable now. Yeah, stuff like seam-gen and security was in flux until recently, but that was because it was, well, brand new, and we were still working on it The basic core functionality has not changed much recently. Configuration tends to change from time to time, but

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread [EMAIL PROTECTED]
Guys, its right there in the 1.1.6 release announcement! http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/02/08#seam-116 If you generate an application using seam-gen, this feature is built-in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015571#4015571

[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?

2007-02-12 Thread [EMAIL PROTECTED]
For a working example, see examples/contactlist, or simply generate an application using "seam setup new-project generate-entities". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015570#4015570 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: Constructor versus @Create annotation

2007-02-12 Thread hstang
injection takes place after an instance is fully constructed. if you have a method annotated with @Create, it will be called after injection has taken place. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015568#4015568 Reply to the post : http://www.jboss

[jboss-user] [JBoss Seam] - Re: Second JBoss Seam Book Released

2007-02-12 Thread jim.farley
I'm writing the other Seam book for APress. It's a more advanced "practical guide", applying the various capabilities in a quasi-real-world application. Keeping up with these "minor" releases has been a challenge, to say the least. But that's always the curse of technology books. View the or

[jboss-user] [JBoss Seam] - Re: Injection when using abstract parent class

2007-02-12 Thread gmanwani
I have made Foo a Seam component but I do not see the injection happening. On the contrary if I have an init() method in the derived class and apply the @Create annotation to it then the injection does take place. This looks like a bug to me. View the original post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Conversation-scoped JavaBean

2007-02-12 Thread lightbulb432
I have an SFSB with an @Out of myVariable, where myVariable is an entity. The SFSB then calls a method on a conversation-scoped JavaBean with an @In of myVariable. Ideally, the myVariable should be exactly the same in the SFSB and the JavaBean. The problem may be that myVariable is an entity wi

[jboss-user] [JBoss Seam] - Re: Constructor versus @Create annotation

2007-02-12 Thread gmanwani
Sorry the above constructors are not Foo() but FooImpl1() and FooImpl2() respectively. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015553#4015553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015553 ___

[jboss-user] [JBoss Seam] - Constructor versus @Create annotation

2007-02-12 Thread gmanwani
Following is my current setup | | public abstract Foo { | | @In | protected FooComp1 fooComp1; | protected Foo foo; | | protected void init() { | if (fooComp1 != null) { | foo = "injection works"; | } | } | | public class FooImpl1 { | | public Foo(

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - OCI8 configuration

2007-02-12 Thread rizkaarifianto
Hi, I'm using JBOSS 4.0.4GA using CMP and having problem with OCI8 to connect to 2 different database. I have 2 databases with a different version of database (8i and 9i). - Installing Oracle 9i Client - Setting up the TNS For both databases - Setting up datasource (oracle.ds) using OCI - Copy fi

[jboss-user] [Remoting] - Remoting idletimeout not working

2007-02-12 Thread koganty
We are running JBoss 4.0.5 with EJB3 RC9 on JDK1.6 with Remoting 1.4.6. Our standalone client uses the socket transport to connect to the server and invoke methods on the EJB3 SLSB. What I see is that the SocketInvoker threads are created to handle the client requests, but these threads just li

[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit

2007-02-12 Thread htran_888
Hi L, Success at last after having upgraded JBoss to 4.0.5 (full support for EJB 3.0) which may have fixed the problem. Anyhow the main sticking point was not referencing TravelAgentBean correctly using JNDI. Below is the only slight modification needed from the original code from the Client:

[jboss-user] [JNDI/Naming/Network] - Help me about DatabaseServerLoginModule (very urgent!! Pleas

2007-02-12 Thread changemylife
Hi all! Please help me !!! http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100996 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015533#4015533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015533

[jboss-user] [JBossCache] - Re: Performance expectations

2007-02-12 Thread [EMAIL PROTECTED]
I have noticed that you used optimistic locking, if I am reading it correctly. Have you tried the pessimistic one where the wiki results were based? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015522#4015522 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss Messaging] - Re: Limiting the MDB pool size to 1

2007-02-12 Thread jnorris10
"timfox" wrote : This is not JBoss Messaging config, it is MDB container config. The MDB container is agnostic as to the jms provider, whether it is JBoss Messaing, JBossMQ or some other provider. | | See | http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB | | Look at the maximu

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread twocoasttb
This would be extremely useful to us as well. Right now I am embedding our logon form in our main template and display it (and the page content) conditionally. The net result is that the user gets the requested page upon successful login, but can't reload the page without getting "Are you sur

[jboss-user] [JBoss Seam] - seam-gen setup bug (hibernate.default_schema)

2007-02-12 Thread gunnarif
Hi! I think this is a bug. When you generate the build.properties file with 'seam setup' and you choose a database (e.x. db2). You are prompted to set the default_schema property. Then if you use 'seam setup' again but you choose mysql you are not prompted for the default_schema property, but i

[jboss-user] [JBoss Seam] - Re: Exception for authorization attempt

2007-02-12 Thread henrik.lindberg
I have now upgraded to 1.1.6.GA and this works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015512#4015512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015512 ___ jb

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread hstang
acegi supports this feature, and I found it to be very useful. Would also like to see it as part of Seam security +1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015508#4015508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: f:param in h:commandLink in h:column

2007-02-12 Thread dilator
Why not use the Seam EL extensions, and a @DataModel. Then you can do: | | | | | | That should be easier! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015504#4015504 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: Security logout method

2007-02-12 Thread dilator
For logout, rather than calling identity.logout(), call your own method that either call's Identity.instance().logout(), or calls Seam.invalidateSession() - which at the moment is basically all identity.logout() does. For expiring sessions, presumably you already have a session scoped stateful

[jboss-user] [JBoss Seam] - Security logout method

2007-02-12 Thread rmemoria
Is there a way to configure a method of a component to be called when the user logs out or the user's session expires? Regards, Ricardo Memória View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015500#4015500 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread dilator
I believe this is not currently available +1 :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015499#4015499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015499 ___ jboss-

[jboss-user] [JBoss Seam] - Re: Wysiwyg editor for Seam Text?

2007-02-12 Thread dilator
Hi there, I use TinyMCE http://tinymce.moxiecode.com, its very easy to use, but also very customisable. e.g. | | | .richEditor { | min-height: 350px; | width: 610px; | } | |

[jboss-user] [EJB 3.0] - placing ejb 3 session bean inside WAR

2007-02-12 Thread massive.boisson
Hi all, I have a jsp inside a WAR file, trying to access ejb3 session bean inside WAR as well (WEB-INF/classes) all placed inside an EAR which in turn contains persistence.xml. Jsp looks it up from JNDI as "MySessionBean/local". It all works if session bean is deployed inside (ejb)jar file. But

[jboss-user] [JBoss Seam] - Re: How: Create multiple sub-entities in one single form

2007-02-12 Thread philippstraka
Thanx for your immediate reply, Gavin! We really appreciate the work you devote to Seam :) I really tried to work this out, but could not manage. Here is what I did: 1. @DataModel for the list of sub-entities. 2. In the get method for the sub entities in the action listener (which is returning

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Sakai and Jboss with embebed tomcat

2007-02-12 Thread faiio
Well, I am actually having a similar problem when I try to access Preferences. I am wondering wether there is some crashing in between JBoss and Sakai libraries, since there are a few in common with sligthly different versions. Rafael | Technical Details | This information will automatical

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-12 Thread [EMAIL PROTECTED]
In java.sql.Types, value -1 corresponds to LONGVARCHAR. Properties of type org.jbpm.bpel.db.type.ElementType in jBPM BPEL use that JDBC type. HSQL and MySQL support it but not Oracle, apparently. The solution is changing the JDBC type to VARCHAR. I've created issue BPEL-230 for tracking purpose

[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-12 Thread [EMAIL PROTECTED]
We have not tested portal with JBoss AS 5 yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015472#4015472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015472 ___ jboss-us

[jboss-user] [JBossWS] - Cookies, MIME headers and 1.0.4?

2007-02-12 Thread [EMAIL PROTECTED]
I have a RPC handler that intercepts the MIME headers to extract Set-Cookie so that my code can deal with cookies afterwards. This used to work until 1.0.4.GA. Any idea why it doesn't anymore? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015469#4015469 Rep

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread PeterJ
What operating system are you running? If Linux, see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93668, especially the little telnet trick. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015465#4015465 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread colomb
As a matter of fact, there are three nics in the machine. Only one is active. Will try removing two and see what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015464#4015464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-12 Thread jimisola
Does JBoss Portal 2.6 Alpha 2 work with JBoss AS 5.0.x (currently Beta 1)? I am about to try out JBoss and might as well go with: - JBoss AS 5.0.x - JBoss Portal 2.6 Alpha 2 - JBoss Forums 1.0.0 Beta if they are to work and there aren't any known compability issues. View the original post

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread [EMAIL PROTECTED]
Maybe you have two network boards or any routing tables spoiled. I don't think any property would stale the behavior of these connections (besides these ones to configure the port/host) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015461#4015461 Reply to

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread colomb
Tim, Setting the bind address and port on the errant client worked. Any ideas why one machine/client would have this problem? I tried getting those properties on the client and unless I set them, they are null. Of note, the machine on which the client fails used to host the jboss messaging

[jboss-user] [JBossWS] - JBoss 4.0.5--JAX-RPC has Issues?

2007-02-12 Thread russray
I have a simple web service using JAX-RPC. I have setup the service to make the web server think it is dealing with a servlet. When I use Eclipse's Web Service Explored for testing the service, I receive this error on the server: | [13:29:42,196] [ERROR] [[WebServiceImpl]] [Servlet.service(

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread timfox
Also please see: http://jira.jboss.org/jira/browse/JBMESSAGING-536 http://jira.jboss.org/jira/browse/JBMESSAGING-528 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3969574#3969574 http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968122 View the original post : http:

[jboss-user] [JBoss Portal] - Re: Deploy new portal using existing portlets

2007-02-12 Thread PeterJ
I went back and looked at what I did earlier, and it turns out I gave you bad information because I remembered it wrong. Do this instead. First, in portlet.xml, create a new portlet using the CSM portlet class, like this: | NewCmsPortlet | org.jboss.portal.core.portlet.cms.CMSPortlet

[jboss-user] [JBoss Seam] - Re: f:param in h:commandLink in h:column

2007-02-12 Thread lightbulb432
Apparently I should be using outputLink instead of commandLink to get the parameters to show up... So here's the issue I foresee now...each row in the dataTable has a link to a remove method which contains that row's entity id as a request parameter. How would I use pages.xml to get the paramet

[jboss-user] [JBoss Messaging] - Re: Limiting the MDB pool size to 1

2007-02-12 Thread timfox
This is not JBoss Messaging config, it is MDB container config. The MDB container is agnostic as to the jms provider, whether it is JBoss Messaing, JBossMQ or some other provider. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB Look at the maximumSize parameter. View the original p

[jboss-user] [Installation, Configuration & Deployment] - Re: different hostnames to different applications?

2007-02-12 Thread PeterJ
You need to configure virtual hosts. See http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts and http://docs.jboss.com/jbossas/guides/webguide/r2/en/html_single/#d0e856 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015450#4015450 Reply to the post : http

[jboss-user] [JBoss Seam] - how to redirecto back to intented page after login

2007-02-12 Thread gsegura
When the user tries to access a protected page, I want to redirect to the login page if he hasn't logged in yet. And then, after successful login, redirect back to that given page. Is there a setting to achieve this? Otherwise, is the best solution to implement a javax.servlet.Filter ? regards

[jboss-user] [JBoss Messaging] - Re: Limiting the MDB pool size to 1

2007-02-12 Thread jnorris10
"shyrich" wrote : Is it possible to limit the size of the MDB pool to 1 so that there is only one bean consuming messages off the queue? If so, how would this be configured? +1. I am also interesting in this type of configuration. I want to be able to limit the number of consumer threads for

[jboss-user] [Messaging, JMS & JBossMQ] - User Unable to Login after failure in uil2.SocketManager

2007-02-12 Thread hgreenblatt
Hi, We seem to have this problem once a week, but in general it is not reproducible. The user gets the error in the log(below) and then is unable to login until JBoss is restarted. I hate putting the clip here. After the first clip is another showing the error the user has trying to log back in

[jboss-user] [Installation, Configuration & Deployment] - Re: IllegalStateException: ClassLoadingTask.loadedTask is nu

2007-02-12 Thread youngkin
In the words of the immortal Frank Zappa - "Hi, it's me again. I'm back" :> More investigation indicates that one cause of this problem is that a deadlock was detected between instances of the JBoss classloader or class loading tasks. This is based the JUnit test implemented in org.jboss.test

[jboss-user] [JBoss Messaging] - Re: SocketClientInvoker switching addresses?!?!

2007-02-12 Thread timfox
On your client you can set the following two system properties to make sure remoting uses a specific bind address/port: jboss.messaging.callback.bind.address jboss.messaging.callback.bind.port Can you try this on your client? View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Messaging] - SocketClientInvoker switching addresses?!?!

2007-02-12 Thread colomb
We are having a very strange issue with both 1.0.1Sp2 and 1.0.1SP4 where one of our messaging clients never gets any messages. After turning some TRACE level output (thanks for the page on how to do that!) we noticed this little line; | 2007-02-12 15:16:24,251 79023 DEBUG [org.jboss.remotin

[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?

2007-02-12 Thread bulloncito
I'm having the same problem, I'm starting with seam, using EntityHome, and as far as I understand that only propagates the parameter to the page, still has to be injected, I use @RequestParameter Long userId ; however my source is nearly identical to the one in the exaples of reference documenta

[jboss-user] [JBoss Seam] - Re: SeamLoginModule

2007-02-12 Thread [EMAIL PROTECTED]
The rule file element needs to be wrapped: | | /META-INF/security-rules.drl | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015418#4015418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40

Re: [jboss-user] [JBoss jBPM] - Re: Sample Actions and States

2007-02-12 Thread Zakai Kinan
The archives are not searchable, though. Isn't that the case? I need to research something myself. TIA, ZK --- estaub <[EMAIL PROTECTED]> wrote: > The general idea with a forum is that you look to > see if someone else has asked the same question > recently, so that the folks who are trying to

[jboss-user] [JBoss Portal] - Re: HOWTO: Replace portal authentication and authorization

2007-02-12 Thread [EMAIL PROTECTED]
The classes are part of the 'identity' module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015397#4015397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015397 ___ jboss-us

[jboss-user] [JBoss Portal] - User Login

2007-02-12 Thread works
Hi I have a system that contains users, and that users need to login in portal. This user are in my database (MS-SQLServer), and i have a database view where show the users and his permission. How do I login in the portal using this users? How i get the user logged? Thanks View the origi

[jboss-user] [Security & JAAS/JBoss] - Help ... flushAuthenticationCache don't work

2007-02-12 Thread Venika
Hallo, I have a problem with JAAS-Security in my application. I need to change the user roles on the fly in my application. So I try to call the "flushAuthenticationCache" ? method in my application, but this call has no effect. In other JBoss topics I have found that after this call the JASS-

[jboss-user] [JNDI/Naming/Network] - Re: Proxy ClassCastException after successful EJB lookup

2007-02-12 Thread cupdike
Peter- Nice catch... that was indeed the problem. I forgot about that whole "class identity = class + classloader" thing, and was lazy about how I had configured ant. There are also some useful wiki pages on this and other potential classloader issues: http://wiki.jboss.org/wiki/Wiki.jsp?page

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: problem with JSF 1.2 on JBoss5Beta

2007-02-12 Thread sedat
Hi, Here is the content of my managed-beans.xml file (starting after the #'s line): ## http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/

[jboss-user] [JBoss Seam] - Re: doco - 18.2.2. Seam.Component

2007-02-12 Thread [EMAIL PROTECTED]
SLAPs Self... Sorry. The section is for Javascript. Had I RTFM or even read your responses better I would have seen that! I was doing it in code... | Image image = (Image)Component.getInstance("image", true); | image.setName(fileName); |

[jboss-user] [JBoss Portal] - HOWTO: Replace portal authentication and authorization

2007-02-12 Thread arnieAustin
I need to replace the portal's internal methods with a custom class we wrote internally. Though LDAP is used to authentication, the base functions aren't detailed enough for our needs. Authorization is done based on data from a database. I know I'm supposed to implement UserModule and RoleModul

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Transaction issue with separate JBoss jars

2007-02-12 Thread dtseiler
I've since found the JBoss Transactions forum, and cross-posted there. Mods, can you delete this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015377#4015377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015377 ___

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Transaction issue with separate JBoss jars

2007-02-12 Thread dtseiler
Recently we have tried to separate our EJB Project out into two parts. One project to handle all of our persistence and another to handle all of our service's. The persistence project was set up to serve out entity objects back through a DAO service. This way our Service project can just call in

[jboss-user] [JBossWS] - Re: java.util.Map using wstools and generating wsdl

2007-02-12 Thread avembakam
< complexType name='Map' > < sequence > < element name='empty' type='boolean' / > < /sequence > < /complexType > This is the part of wsdl for the map. How do I correctly use java.util.Map View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015365#4015

[jboss-user] [JBossWS] - Re: java.util.Map using wstools and generating wsdl

2007-02-12 Thread avembakam
"avembakam" wrote : http://xml.apache.org/xml-soap"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | This is my namespace configuraions. | | The wsdl that gets generated has "Map"

[jboss-user] [JBossWS] - java.util.Map using wstools and generating wsdl

2007-02-12 Thread avembakam
http://xml.apache.org/xml-soap"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> This is my namespace configuraions. The wsdl that gets generated has "Map" definiton as

  1   2   3   >