[jboss-user] [JBossWS] - Re: Example needed of servlet connecting to web service

2007-02-07 Thread paoletto
dwin wrote : ensure that your JDK is 1.5 and not 1..6 eerm... right! my jdk is 1.6... didnt imagine that -_- With 1.5.0 it works perfectly! well.. many thanks :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012456#4012456 Reply to the post :

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread [EMAIL PROTECTED]
For MDBs, yes, that works. For @Timeout methods, unfortunately, IIRC, the EJB spec says that they do not get intercepted (which is extremely annoying). So what you can try to do is to use a Seam asynchronous method instead. View the original post :

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

2007-02-07 Thread [EMAIL PROTECTED]
Thanks a lot ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012458#4012458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012458 ___ jboss-user mailing list

[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5

2007-02-07 Thread [EMAIL PROTECTED]
This is happening because a session object is being inserted into a session as an attribute, e.g. HttpSession session = request.getSession(); session.setAttribute(session); You need to find out why that's happening as it won't work. View the original post :

[jboss-user] [JBoss Seam] - view vs action attribute (Explanation needed)

2007-02-07 Thread baz
Hello, i was fooled by the following code | s:link value=Edit User action=/editUser.xhtml | f:param value=frese name=myUserId / | /s:link | The editUser page is displayed, but the request param was not set. After some time, i realize that the

[jboss-user] [Beginners Corner] - Setup seam without persistence

2007-02-07 Thread naskoialan
Hello, I have to manage following case from JSF is called one from my session bean's and I have to save this data using Hibernate which is integrated into framework JavaSIG, for example instance ot Persistance is comming form class org.hl7.hibernate.Persistence. I try to create an instace of

[jboss-user] [JBoss Seam] - Re: Global Update events/@Observe

2007-02-07 Thread [EMAIL PROTECTED]
To share state between all sessions you must use application context (or, in a cluster, the PojoCache). There is no way to handle an event in all sessions according to the servlet spec. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012465#4012465 Reply to

[jboss-user] [JBoss Seam] - seam-gen error

2007-02-07 Thread pbrewer_uk
I've just started looking at seam-gen (with Seam 1.1.5 and Oracle XE) and it fails when running the generate-entites task. It manages to build all the entity beans, but breaks half way through building the xxxList.xhtml pages (it does output about 10 files of an expected 40). The error message

[jboss-user] [Clustering/JBoss] - Re: Problem(?) with transactions and TreeCache

2007-02-07 Thread [EMAIL PROTECTED]
It's a DEBUG message and is nothing to worry about. Either ignore it or turn off DEBUG logging of org.jboss.cache.TreeCache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012467#4012467 Reply to the post :

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread pepelu
Just for your information, the above problem occurs with this configuration app/deploy/mywebapp.war app/deploy/app_aspect.aop app/deploy/app_aspect/META-INF/jboss-aop.xml I also tried to deploy the aspect using the other scheme: app/deploy/mywebapp.war app/deploy/app_aspect.jar - this

[jboss-user] [EJB/JBoss] - Need help with timeouts

2007-02-07 Thread eharoldw
Hi, Sorry, this is a duplicate post but the subject got truncated on the last one and I didn't know how to modify the subject. I have been trying to manage timeout on a stateless session bean. I have a client that is running in eclipse outside of jboss calling in to a running jboss server.

[jboss-user] [JBoss jBPM] - Re: Is possible that various users can do the same task para

2007-02-07 Thread webjavier
nobody plz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012470#4012470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012470 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - hoy backtrack a transition ?

2007-02-07 Thread achesini
I have two task , A and B, and there is a transition x from A to B. Is there any posibility to make and undo, if the user make a mistake when signaling A. I want to make a backtrack, and i dont want to put a transition from B to A. HOw could i resolve this. ? Thank in advance. Alfonsina

[jboss-user] [Beginners Corner] - Re: JMS on AIX 5.3 and J2EE Tutorial

2007-02-07 Thread dana.rea
Has anyone found a solution to this, I'm running into the same problem? I'm also using the IBM VM on Ubuntu 6.06 with JBoss 4.0.5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012472#4012472 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Global Update events/@Observe

2007-02-07 Thread dahm
APPLICATION scoped events are exactly what I need :-) Cheers Markus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012475#4012475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012475

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

2007-02-07 Thread [EMAIL PROTECTED]
Actually icefaces uses a delay when sending value change events. So it doesn't hammer the server with a request on every keypress. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012476#4012476 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Caching pages in browser

2007-02-07 Thread spambob
With s:cache you cache part of pages serverside - i.e. a dynamic part of a page that changes from time to time but is expensive to compute. With meta tags in html headers you cache whole pages clientside - you can tell the client to ask everytime if theres a newer version available, to use the

[jboss-user] [JBoss Portal] - Re: How do I edit User Portlet?

2007-02-07 Thread PeterJ
Yes, I usually build from source (for a while, some fixes I needed were only available that way). I extract the sources from Subversion and run the build script in the build directory. After a few minutes, the binary is in core/output/resources. I also download the binary because I find that

[jboss-user] [JBoss jBPM] - Re: Unable to locate current JTA transaction

2007-02-07 Thread crussell42
In poking around and finally getting into building jbpm-enterprise.ear from the cvs head, I got a little further in my testing. Because I cant figure out how to configure transactions properly, I just tried to turn them off by editing the jbpm.cfg.xml and setting | field

[jboss-user] [JBoss Messaging] - Re: AccessControlException

2007-02-07 Thread colomb
Thank you. Look forward to testing it out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012481#4012481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012481 ___ jboss-user

[jboss-user] [JBoss Portal] - Re: problem in logout

2007-02-07 Thread PeterJ
In the Management Portlet, there is a tree view. Select the 'root' entry, and then click on Properties. You can then change the defaultObjectName property to the name of your portal. Once you save that change, your portal becomes the default portal, thus using the url

[jboss-user] [JBoss Seam] - Question regarding application scoped persistence context

2007-02-07 Thread spambob
Hello, I would like to know how expensive an extended application scoped persistence context is. I.e. I have a menu consisting out of 1000+ elements that I need for every request. Therefore I would like to cache it - naturally in the application scope. Now, instead of reading the whole menu

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread [EMAIL PROTECTED]
It looks like core.services.document.DocumentServiceParameters is contained both in your .aop file as well as in your war's WEB-INF/lib or WEB-INF/classes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012485#4012485 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Access onnection Pool from standalone

2007-02-07 Thread Uchiha
Hi I need to access the connection pool in JBoss from a standalone program, im getting the context through JNDI like this: Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); env.setProperty(Context.PROVIDER_URL,

[jboss-user] [JBoss Seam] - Re: Multiple DataModels in an SFSB

2007-02-07 Thread lightbulb432
Ok, then in an SFSB how can you ensure that every time the property is accessed the factory is getting run again? The way I understand it is that the factory is only executed when the corresponding property is null. Therefore, the only time that would apply is the very first time that the

[jboss-user] [JBoss Seam] - Re: seam-gen error

2007-02-07 Thread [EMAIL PROTECTED]
Please try again with current CVS, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012488#4012488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012488 ___ jboss-user

[jboss-user] [JBoss Portal] - Re: problem in logout

2007-02-07 Thread ScottDawson
You may also want to configure the specific page that is displayed after logout. Instructions for that are here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePortalLogout Regards, Scott Dawson Unisys View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: Access onnection Pool from standalone

2007-02-07 Thread jaikiran
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012490#4012490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012490

[jboss-user] [JBoss Seam] - Re: Question regarding application scoped persistence contex

2007-02-07 Thread [EMAIL PROTECTED]
That is definitely NOT the right way to think about extended persistence contexts. Their cache goes away at the end of the conversation. Put stuff in the application context, or use a Hibernate second-level cache. View the original post :

[jboss-user] [JNDI/Naming/Network] - Access Connection Pool from standalone

2007-02-07 Thread Uchiha
Hi I need to access the connection pool in JBoss from a standalone program, im getting the context through JNDI like this: Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); env.setProperty(Context.PROVIDER_URL,

[jboss-user] [JCA/JBoss] - Access Connection Pool from standalone

2007-02-07 Thread Uchiha
Hi I need to access the connection pool in JBoss from a standalone program, im getting the context through JNDI like this: Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); env.setProperty(Context.PROVIDER_URL,

[jboss-user] [JBoss Seam] - Re: Multiple DataModels in an SFSB

2007-02-07 Thread [EMAIL PROTECTED]
@Factory(scope=EVENT|STATELESS) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012495#4012495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012495 ___ jboss-user mailing list

[jboss-user] [Performance Tuning] - Re: performance degradation

2007-02-07 Thread jaikiran
There are a lot, but I have only worked with JProfiler in one of my projects. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012494#4012494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012494

[jboss-user] [JBoss Seam] - Re: Multiple DataModels in an SFSB

2007-02-07 Thread [EMAIL PROTECTED]
Add a refreshMyList() method and let it listen to an event. Fire the event (from anywhere) when you need to refresh the data. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012498#4012498 Reply to the post :

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

2007-02-07 Thread lightbulb432
lightbulb432 wrote : When catching NotLoggedInException in exceptions.xml, I have a | | redirect view-id=/login.xhtmlNot logged in/redirect for the NotLoggedInException. | | While the redirect works correctly, the message Not logged in doesn't display in login.xhtml's h:messages

[jboss-user] [JNDI/Naming/Network] - Re: Access Connection Pool from standalone

2007-02-07 Thread jaikiran
Already answered here http://www.jboss.com/index.html?module=bbop=viewtopict=100940 :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012499#4012499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012499

[jboss-user] [JCA/JBoss] - Re: Access Connection Pool from standalone

2007-02-07 Thread jaikiran
Already answered here http://www.jboss.com/index.html?module=bbop=viewtopict=100940 :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012500#4012500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012500

[jboss-user] [Beginners Corner] - Re: Bean count in JBoss server

2007-02-07 Thread PeterJ
Two mbeans you can look at: jboss.j2ee:service=EJB,jndiName=XXX jboss.management.local:J2EEServer=Local,j2eeType=AAA,name=XXX,EJBModule=YYY,J2EEApplication=ZZZ (look at stats) where XXX is the bean name, YYY is the jar file name, ZZZ is the ear file name, and AAA is the bean type. View the

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
One thing I have realized digging into this issue more is that the EJB Deployer is immediately deploying my EJB jar. The MDB gets started immediately thereafter. If messages are on the Q the MDB is listening to, then it starts trying to consume them I think that maybe the Seam

[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-02-07 Thread gemel
I had this failure too and I could solve it I hope I can help you. Dou you have a datasource defined in your persistence.xml file like this? jta-data-sourcejava:/SeamRcAdfDatasource/jta-data-source if yes -- Try this 1- Take the jta-data-source definition away from the persistence.xml file 2-

[jboss-user] [Installation, Configuration Deployment] - Re: Access onnection Pool from standalone

2007-02-07 Thread Uchiha
Thank you very much View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012504#4012504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012504 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - Server stops suddenly

2007-02-07 Thread shandrio
I have this problem. I'm running an instance of JBoss server in my Lomboz Eclipse IDE and suddenly it just stops. There is apparently no error or exception. It just shuts down! Anyone knows what could be happening? Here's more info... OS: Windows 2K SP 4 IDE: Lomboz 3.2 JDK: 1.4.2_06 Server:

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread [EMAIL PROTECTED]
This could make sense, I suppose. I guess its kinda wrong that MDBs in the ejbjar should go live before the rest of the EAR is fully started. Report this as a bug to the EJB3 team, if it is truly the case I suppose I could make my interceptor throw exceptions if seam is not fully started

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

2007-02-07 Thread kasim
[img]http://www.apress.com/ApressCorporate/supplement/1/10234/bcm.gif[/img] http://www.apress.com/book/bookDisplay.html?bID=10234 Well the second (although apparently first to print) JBoss Seam book is being released this month. All the chapters were sent to the printer on friday so it should

[jboss-user] [EJB 3.0] - Re: EntityManager violates foreign key constraint

2007-02-07 Thread hamtho2
I did a little further debugging and found out, that it has to do with the optional=false If I remove that attribute, it works without any problems. Anyways: is this the way it should work? I think this behaviour is still a little bit strange and I´m still not satisfied with this non-handled

[jboss-user] [JBoss jBPM] - Re: Unable to locate current JTA transaction

2007-02-07 Thread crussell42
Also needed to apply this fix for compiling the cvs head. http://jira.jboss.com/jira/browse/JBPM-834 All I wanted was a Pepsi !!! No really, I'm just trying not to lose any information on how to get the beast to run with Jboss 4.0.5GA, ejb3, jms messaging, and annotated class persistence in a

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
other item, @Logger doesn't ever seem to work for MDB's. | @MessageDriven( | activationConfig = { | @ActivationConfigProperty(propertyName = destinationType, propertyValue = javax.jms.Queue), | @ActivationConfigProperty(propertyName = destination, propertyValue =

[jboss-user] [JBoss jBPM] - BPEL + WSIF

2007-02-07 Thread pkovgan
Hi! I have read 3 threads here and some blogs that try to explain some aspects of BPEL-Java coexistance and some pros and contros of attempt to exploit BPEL (below you can find those links) in WS free world... Anyway I want to ask simple question: Is it easy or not ( is it possible ) to wrap

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
doh! Thanks! ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012516#4012516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012516 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - Re: Server stops suddenly

2007-02-07 Thread jaikiran
That log does not show anything related to shutdown. How did you identify that the server went down? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012517#4012517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012517

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread pepelu
Yes, sure, it is. That's because if I don't include the class in the .aop or .jar that contains the interceptor, it throws a ClassNotFoundException. There must be a way to make the interceptor to be executed in the same classloader as the class that contains (in this case) the method

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread petemuir
You need an @Name on the MDB to make it Seam component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012515#4012515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012515 ___

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread [EMAIL PROTECTED]
pepelu wrote : | Including the aop deployment files and descriptor under the .war of the application seems to be the right solution, but I tried that without sucess... | | Wich are the chances of deploying the aspects as part of a war application? THis is currently not possible, as a

[jboss-user] [Security JAAS/JBoss] - Re: Problem with JAAS, Exception :javax.security.auth.login

2007-02-07 Thread jaikiran
If you want to write a custom login module, you just have to mention the classname(along with its packagename) of the loginmodule in the login-config.xml present in %JBOSS_HOME%/server/deault/conf folder. You will additionally have to place the login module class (and all other related

[jboss-user] [Security JAAS/JBoss] - Re: Problem :How to use own LoginModule in JBOSS

2007-02-07 Thread jaikiran
Lets continue this discussion at http://www.jboss.com/index.html?module=bbop=viewtopict=100727 since i have already commented on that View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012524#4012524 Reply to the post :

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

2007-02-07 Thread [EMAIL PROTECTED]
Cool! That was quick ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012526#4012526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012526 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread jaikiran
How about this http://wiki.jboss.org/wiki/Wiki.jsp?page=TransactionTimeout View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012527#4012527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012527

[jboss-user] [Messaging, JMS JBossMQ] - MDB's activated too early

2007-02-07 Thread bsmithjj
Hello, I have an EJB3-Seam application that uses's an MDB. A problem I am having is that as EJB deployer (I think) is activating or putting my MDB's into the Method-Ready Pool before my EAR is completely deployed. Is there a setting to control this? I am attempting to use Seam annotations

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread eharoldw
In order to do this with an interceptor, would I not have to make a separate thread? Otherwise, how could my interceptor gain control to throw an exception if it has chained on to code that does not return in the allotted time? Creating a new thread is worrisome since interceptor state is held

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread pepelu
I asked for the posibility of deploying the aspect inside a .war file because of this content in the jboss-aop reference documentation: http://labs.jboss.com/portal/jbossaop/docs/1.5.0.GA/docs/aspect-framework/reference/en/html/running.html#d0e3109 There states: anonymous wrote : That is you

[jboss-user] [JBoss Seam] - Seam and granularity

2007-02-07 Thread viniciuscarvalho
Hello there! Just started here, yesterday some folks gave me some help on my first question. Now I have another architectural question: I know I'm free to not use each managed bean as a SLSB, I could use my managed bean as a facade to a remote object and have the SLSB injected inside my managed

[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting

2007-02-07 Thread [EMAIL PROTECTED]
I believe this quote stems from an older version of JBoss AS where the UseJBossWebLoader=true in deploy/server/jbossweb-tomcat.sar/META-INF/jboss-service.xml. In this cases the cl used for the WEB-INF/lib and WEB-INF/classes is a UnifiedClassLoader. With this setting set to false,

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread [EMAIL PROTECTED]
Can you show the log message that is causing this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012535#4012535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012535 ___

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread eharoldw
Thanks. I had looked at this one, but when I use this suggestion, I see a warning logged in my log file about the transaction timing out, but the ping still takes 10 seconds to return. I'm not sure what is being timed out, but it does not seem to be the ping method. View the original post :

[jboss-user] [JBossWS] - Re: DayTrader benchmark deployment

2007-02-07 Thread jshrinivas
Try with latest version of JBoss and WebServices package. For me it got resolved when I played around a bit with different combinations of JBoss AS and WebServices package (did it by building JBoss from source). View the original post :

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
| log.info(findUserByUserid() : found users - + evergreenUsers); | here is the whole method: | public String findUserByUserid() { | log.info(findUserByUserid() : anumber = + evergreenUser.getAnumber()); | log.info(findUserByUserid() : lastqry = +

[jboss-user] [JBoss Seam] - Re: seam-gen error

2007-02-07 Thread pbrewer_uk
Thanks for the quick response. Unfortunately, I've just updated to the latest cvs (list.xhtml.ftl is now v1.11) and the problem is still present (with the same error as before). If there's anything else I can try let me know. Cheers, Pete. View the original post :

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

2007-02-07 Thread kasim
I've actually been working on it Since June. Just got soo busy with it never had time to request help on here for reviews till later. The book will be about 320pages. I was able to do a lot of changes in december in it to try and cover some of the 1.1.0 changes that occured. View the

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
after @Naming my MDB's as Seam components: | 2007-02-07 11:40:03,215 ERROR [org.jboss.jms.asf.StdServerSession] session failed to run; setting rollback only | java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web

[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5

2007-02-07 Thread clemente.cioffi
Thnk you for you answer. In not-clustered environment, the application works fine. How can I individuate where I make the mistake? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012544#4012544 Reply to the post :

[jboss-user] [JBoss Seam] - bijection value causing JSF Error. Misuse, or misunderstand

2007-02-07 Thread [EMAIL PROTECTED]
I'm getting the following error reported from JSF in certain situations. I have found a solution, but I wanted to dump out my code to the group to see if you guys have seen this issue and help me determine if this is an issue in seam, or if I'm just misusing or not understanding this

[jboss-user] [Installation, Configuration Deployment] - application-client not starting

2007-02-07 Thread aschulz
Hi, I'm porting an application from orion to JBoss 4.0.5. I have an application-client witch I want to deploy an run when jboss starts. In the docs I found that there must be a META-INF/application-client.xml and a META-INF/jboss-client.xml and that jndi.properties must contain

[jboss-user] [EJB 3.0] - Disable schema cration on JBoss embedded

2007-02-07 Thread mhassel
I use the embedded JBoss container for EJB3 unit testing. I want to create the schema manually (with SQL) to verify my entity beans against the production schema. Seems like I can not prevent the container from creating the schema for me, after calling EJB3StandaloneBootstrap.boot(null);

[jboss-user] [EJB 3.0] - FlushMode.MANUAL being ignored???

2007-02-07 Thread JamesWoodward
Hi, I recently purches the eBook Java Persistence with Hibernate and am working through the chapters. Why is it that this code reports a flushMode of AUTO, when it should be MANUAL? | @Stateful | public class MySessionBean implements MySession { | | private static final Log log =

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread jaikiran
I get what you are saying. You are expecting a exception to be thrown when the transaction times out. Thats not going to happen. JBoss will just mark the transaction for rollback and log a WARN message (which you are already seeing) when a transaction times out. However after the transaction

[jboss-user] [Beginners Corner] - Rename Portlet Window

2007-02-07 Thread kwilsonjboss
Hello Folks, I'm currently helping a client evaluate several portal options, including JBoss. Things are going fine in general, but I do have a few questions that I can't seem to find answers to in the documentation: 1. How can one rename a portlet window? 2. The current mechanism for

[jboss-user] [JBoss Seam] - Re: Caching pages in browser

2007-02-07 Thread lowecg2004
I assume you mean browser page caching. I came across this problem with an application that required a login to see customer transaction data. Essentially you could login, view financial data and then log out, after which hitting the back button would show browser cached pages from the

[jboss-user] [Beginners Corner] - Re: Server stops suddenly

2007-02-07 Thread shandrio
jaikiran wrote : How did you identify that the server went down? | This is how I know it went down: View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012561#4012561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012561

[jboss-user] [JBossWS] - WS-Security internal error when signing

2007-02-07 Thread bertaa
Operating system : Windows XP Java version: 1.4.2_08 JBoss Sever version : jboss-4.0.5.GA Hello, I am trying to develop a ws-client, but when I try to test it I get the following error | java.rmi.RemoteException: Call invocation failed with code [InternalError] because of: An internal

[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5

2007-02-07 Thread [EMAIL PROTECTED]
You can code up an implementation of javax.servlet.http.HttpSessionAttributeListener that tries to serialize each attribute when the attributeAdded or attributeReplaced callbacks are called. If serialization fails, log the attribute name and the stack trace. Then tweak your web.xml to include

[jboss-user] [Installation, Configuration Deployment] - Is the JDK needed in production environment?

2007-02-07 Thread walbar
Hi, I'm installing JBoss in my production enviroment, I want to do it with the least possible dependencies. I have started it only with the JRE installed (no JDK at all) and it seems to run fine. Anyway I would like to confirm that only the JRE is required to run. Are any dependencies other

[jboss-user] [JBossWS] - JBossWS JAX-WS question using stateful

2007-02-07 Thread dwin
For Glassfish JAXWS 2.1 it seems that the annotations @Stateful and @Addressing are supported so you basically annotate your web service with @Stateful @Addressing @Webservice along with a reference to a StatefulWebServiceManager JBoss guys, would you say upcoming or existing JAXWS

[jboss-user] [JBoss Seam] - Re: Seam and granularity

2007-02-07 Thread hstang
I don't know if you are more concerned about architecture or performance here but I assume the latter. When it comes to performance, you need to be more specific (scalability, response time, etc.) and set realistic goals/targets that can be testable. Now I am no EJB expert, but you'll find a

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

2007-02-07 Thread [EMAIL PROTECTED]
That's very cool. Congratulations! I will have to get one. :) Our book is off to the press this week as well (after the new security chapter is proof-read:)). I think developers will really benefit from having several different view points on the technology -- Seam is such a great framework,

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread [EMAIL PROTECTED]
Ok, I fixed the interpolator so that it won't throw an exception when an improperly formatted message comes in. Just so you know, though, you really should be constructing log messages more like | log.info(Here's my potentially dangerous value: #0, myValue); | instead of |

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread [EMAIL PROTECTED]
eharoldw wrote : In order to do this with an interceptor, would I not have to make a separate thread? yes. most state is held in the invocation object with couple of notable exceptions (security, tx on the thread), so basically you could disconnect your incoming thread from the actual worker

[jboss-user] [JBoss Seam] - Facelets (Source) Tags problems with seam validation

2007-02-07 Thread carloszaniolo
Hi, I'm having some problems with seam validation and facelets source tags. It is not working! To reproduce, in the booking example, just change in the register.xhtml: from: h:inputText id=username value=#{user.username} required=true | a:support event=onblur reRender=usernameErrors/ |

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread [EMAIL PROTECTED]
And to add to the previous -- if you can already go with EJB3 then the JBoss EJB3 async invocations with future return values may be the least effort solution to your problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012574#4012574 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Why JBoss always look for DefaultPartition for bound even I

2007-02-07 Thread beaversx
I set up a JBoss4.0.5 (ejb3-clustered installation) cluster with 3 nodes, and I use the following: run -Djboss.partition.name=newPartition -c a11 I received the following log info: 11:36:26,544 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans ---

[jboss-user] [JBoss Seam] - Re: view vs action attribute (Explanation needed)

2007-02-07 Thread SmokingAPipe
Action can be a call to a method in a session bean. If that method returns a string, that string is used as the view identifier. If that method has no return (void) or it returns null, then the view specified by view= is used as the view. If the action returns null AND there is no view=,

[jboss-user] [JNDI/Naming/Network] - Why JBoss always look for DefaultPartition for bound even I

2007-02-07 Thread beaversx
I set up a JBoss4.0.5 (ejb3-clustered installation) cluster with 3 nodes, and I use the following: run -Djboss.partition.name=newPartition -c a11 I received the following log info: 11:36:26,544 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans ---

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
Thanks for making the fix - I'll try it out when the next CVS bundle appears on the nightly builds server. I disagree with your suggestion about how I should log a message. As far as I'm concerned, when I ask a logger to log a message, whether it's a single string, concatenation of strings,

[jboss-user] [JBoss Seam] - Re: Facelets (Source) Tags problems with seam validation

2007-02-07 Thread tiomalandra
I have the same trouble has a long long time, but nobody response me. This problem is caused by parameters in Facelets templating. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012583#4012583 Reply to the post :

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

2007-02-07 Thread [EMAIL PROTECTED]
Sorry for jumping back in the middle here, but can you explain exactly the problem you are having with the namespaced XML? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012606#4012606 Reply to the post :

[jboss-user] [JBoss Seam] - Re: configuring seam security

2007-02-07 Thread damatrix
I tried your suggestion but the pages is still rendering without authentication. The only consolation is that any h:commandLink that has roles set on them do not render which is as expected. However my pages are still exposed to unauthorised access. Is it that i have to somehow configure

[jboss-user] [JBoss Seam] - Re: Seam and granularity

2007-02-07 Thread [EMAIL PROTECTED]
anonymous wrote : Seam implements JSR 299 that inspires developers to create more enterprise beans. (is it correct?) JSR 299 has not yet released any work, so nobody implements it (because there is so far no specification to implement). Sure, Seam encourages you to write more Enterprise Java

[jboss-user] [JBoss Seam] - Re: Seam and granularity

2007-02-07 Thread [EMAIL PROTECTED]
anonymous wrote : So, I believe it's the right place for the question. Seam implements JSR 299 that inspires developers to create more enterprise beans. (is it correct?) | | What to do if simple application based on Seam eventually ceases to be simple? Does it become out of the Seam

[jboss-user] [Installation, Configuration Deployment] - Error Incomplete Deployment Scheduler problems

2007-02-07 Thread blynnH
Hope someone can help with this - I receive the following error in server.log: 2007-02-07 11:50:22,302 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing:

[jboss-user] [JBoss Seam] - Re: Problem with sortable headers on tomahawk dataTable

2007-02-07 Thread eirirlar
Looking at the booking example, I don't think I'm supposed to in- and outject variables the way I'm trying to. Hope this helped somebody :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012603#4012603 Reply to the post :

[jboss-user] [JBoss Seam] - Prod/Dev Datasource Problem

2007-02-07 Thread gzoller
Hello, I used seam-gen to create a project for Eclipse. No problem getting it to generate entities for my existing tables--even the generated web app pulled back data. I wanted to try the prod/dev datasource distinction, so for my project (Spurs) I have Spurs-prod-ds.xml and

<    1   2   3   4   >