[jboss-user] [JBoss Seam] - sessionId cookie: man-in-the-middle attack

2007-05-27 Thread fguerzoni
I noticed that sessionId cookie sent to client before authentication remains the same even after login succedeed. This could lead to a man-in-the-middle attack because pre-login sessionId could be easily sniffed. So, it would be very nice if it should be possible to do a session switching on

[jboss-user] [JBoss Seam] - Re: Domain model duplicates validation

2007-05-27 Thread fernando_jmt
I don't know what exactly you mean with without mapping that to the database, but anyway I have solved something similar as follows: | @Entity | @Table(name = person, uniqueConstraints = @UniqueConstraint(columnNames = {firstname, lastname})) | public class Person { | @Id |

[jboss-user] [JBoss Seam] - weird problem

2007-05-27 Thread cormet
Hi All, I have following problem in calling action on datatable. here are the code: | h:form | h:commandButton action=#{accountAction.selectAccount} value=test / | rich:dataTable |

[jboss-user] [EJB 3.0] - Re: Create timer -

2007-05-27 Thread adenzo
Hi, Any further info on this? I had similar trouble, and in the end got it working by making a seperate call, i.e.: JSF ManagedBean - A:doSomething(); JSF ManagedBean - B:makeTime(); Then making timers worked, as long as I did not EJB work within B. This was on 4.2.0.CR2 Having other issues

[jboss-user] [JBoss Seam] - Re: problem with page parameter and back

2007-05-27 Thread henrik.lindberg
It looks like others have the same problem: http://jira.jboss.com/jira/browse/JBSEAM-660 - here Gavin points out that this is a JSF problem. I am stuck on this issue - appreciates if someone has ideas what I should do. View the original post :

[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread breuniga
Did you find solutions for your questions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048899#4048899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048899 ___ jboss-user

[jboss-user] [Installation, Configuration Deployment] - Re: Separate Logging for application

2007-05-27 Thread grininger.h
Thanks a lot for you answer, I will try it asap. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048901#4048901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048901 ___ jboss-user

[jboss-user] [JBoss Portal] - Re: error changing theme when logged in as admin in 2.6cr2

2007-05-27 Thread andreas.wiesauer
Hello, I did nothing special. As I said, I installed JBoss Portal from SVN (trunk) and I use a MYSQL database as datasource. I deployed with build deploy and after that I installed add-on (samples, admin, management portlets). If I log in as admin and try to change the theme of the default

[jboss-user] [EJB 3.0] - Re: Create timer -

2007-05-27 Thread obfuscator
adenzo wrote : Hi, | Any further info on this? | I had similar trouble, and in the end got it working by making a seperate call, i.e.: | JSF ManagedBean - A:doSomething(); | JSF ManagedBean - B:makeTime(); | | Then making timers worked, as long as I did not EJB work within B. |

[jboss-user] [JBoss jBPM] - Re: Scheduler Question

2007-05-27 Thread kukeltje
Yes, if they are using the same database tables. run the scheduler on just one machine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048907#4048907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048907

[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang
Seam provides a stack of your conversations. @In List conversationStack; Methods of interests are conversationEntry.destroy() and conversationEntry.select() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048912#4048912 Reply to the post :

[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang
| @In ListConversationEntry conversationStack; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048913#4048913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048913 ___

[jboss-user] [Messaging, JMS JBossMQ] - javax.ejb.EJBException: Could not instantiate bean

2007-05-27 Thread bbeloff
Hi I'm attempting to use my first MDB. My code and deployment descriptors are based on examples 6.6 to 6.9 in The JBoss 4 Application Server Guide. I'm running jboss 4.0.2 / MySQL. The problem: my sender sends the message okay (confirmed by querying MySQL) but the message driven bean

[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang
YOu can also do | | @In Conversation conversation; | | conversation.redirectToParent(); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048915#4048915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048915

[jboss-user] [JBossCache] - Recommended way of locking to avoid many threads filling cac

2007-05-27 Thread mkotsbak
I have this case as this pseudocode shows: getObject() { 1:if ( jbc.get( someobj ) == null || cache error ) { 2:obj = getSomeObjFromDB(); 3:jbc.put(someojb). } 4: return obj; } and typically have many threads accessing that method from JBoss at the same time. The

[jboss-user] [EJB 3.0] - jboss.xml entries for stateful session beans

2007-05-27 Thread cchhugani
what is the exact entry in the jboss.xml file for instance cache for stateful sessions bean. where can i find such information. thanks, chetan india. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048918#4048918 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Tomahawk Scheduler

2007-05-27 Thread mygol
i have the same problem,do you have mind? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048919#4048919 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048919 ___ jboss-user

[jboss-user] [Installation, Configuration Deployment] - log4j configuration in ear file

2007-05-27 Thread kstrunk
Hello, I'm using JBoss 4.2.0 and I want to add a custom log4j.properties to my ejb.jar and web.war. I'd like to do the following: application.ear | web.war | ejb.jar | log4j.jar I put the log4j.properties in my web.war and in my ejb.jar. Both of them uses log4j.jar referenced from

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
matt.drees wrote : Are you using a s:validate or s:validateAll on that h:inputText? If so, I'm fairly certain you can't do that. Nope. Not using either. I've posted the complete page code below. Any other ideas? Thanks. | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to work with multiple persistence units

2007-05-27 Thread avihaimar
Hey, I have a generic DAO. The DAO is a stateless and in the DAO the persistence context is injected: @PersistenceContext | public void setEntityManager(EntityManager em) { | this.em = em; | } The problem is that I have more than 5 schemas. Each schema has a

[jboss-user] [JBoss AOP] - What do i do wrong?

2007-05-27 Thread avihaimar
I configure my JBoss server to work with AOP. JBoss - 4.05GA , AOP - 1.5. It work fine with the JBoss example as war. I create a jar that contain the MyAspect example + some classes. and under meta-inf in the jar place the jboss-aop.xml. I deploy, but i dont see any affect. How can i debug

[jboss-user] [JBoss Seam] - jboss el and jstl functions issue

2007-05-27 Thread tazman
Hi all, I'm using jstl's fn:length() function in several places in my application. It was working with the combination of jJboss 4.0.5, ajax4jsf 1.1, faceletes 1.1.12, jsf ri 1.2, and seam 1.2.1. I started getting ClassNotFoundExceptions after I upgraded to seam cvs, ajax4jsf latest snapshot,

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread matt.drees
What's layout/edit.xhtml look like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048926#4048926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048926 ___ jboss-user mailing list

[jboss-user] [Installation, Configuration Deployment] - Re: log4j configuration in ear file

2007-05-27 Thread jwcone
See the Wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=ScopedLoggingConfig View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048928#4048928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048928

[jboss-user] [Installation, Configuration Deployment] - Re: Has anyone seen jboss and jvm crashing like this?

2007-05-27 Thread jwcone
syalcin wrote : any ideas? Nothing certain, unless it's related to the OutofMemoryError with native threads/thread-stack. I don't know if the answer to your problem is there, but http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions might be helpful. View the original post :

[jboss-user] [JBoss Seam] - Warning/Error when using seam text and a4j

2007-05-27 Thread henrik.lindberg
When using seam text on a page that is rendered using a4j, I get lots of output like this: | 21:28:04,703 WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type: org.jboss.seam.ui.FormattedText/javax.faces.Text | 21:28:04,703 INFO [[/cssite]] No Renderer found for component

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RMI/IIOP

2007-05-27 Thread timfox
I'm not sure what this question has to do with JBoss Messaging. JBM doesn't use IIOP. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048931#4048931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048931

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-27 Thread [EMAIL PROTECTED]
Can you perhaps try building RF from its SVN source here: http://anonsvn.jboss.org/repos/richfaces/ Let us know how it goes. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048933#4048933 Reply to the post :

[jboss-user] [Beginners Corner] - Re: JBOSS really slow on Solaris 64 bit system

2007-05-27 Thread lafr
What in you opinion is slow? What kind of CPUs. Show us the head output of prtdiag. What operating system: cat /etc/release uname -a Startup parameters of JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048937#4048937 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

2007-05-27 Thread lafr
Different performance on two systems is mostly based on the hardware used The operating system only has minor influence on it. So you showed us you have 16 CPUs in your Solaris box. But what kind of CPU? Show us the head output of prtdiag. What's the CPU used for your Linux box? Don't know much

[jboss-user] [JBoss Seam] - Re: s:conversationPropagation has no effect with h:commandBu

2007-05-27 Thread quilleashm
s:button and s:link do not submit the form. h:commandButton (I don't believe) accepts parameters like s:conversationPropogation. If you want this effect I would suggest annotating createOffer with @Begin. Cheers. Mike. View the original post :

[jboss-user] [Installation, Configuration Deployment] - apache configuration

2007-05-27 Thread herrera
I need to configure my apache to redirect to my jboss server. I have a lot of webapplications in my jboss server. I need to a site, ie, www.mysite.com direct to jboss or must direct to webapp in jboss ? my webapplication uses struts. Best Regards Herrera View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: apache configuration

2007-05-27 Thread jwcone
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch9.chapt.html#d0e22413 http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048940#4048940 Reply to the post :

[jboss-user] [EJB 3.0] - can any one help me - having a bad day with ejb3 server and

2007-05-27 Thread wiggy
folks i need some help - i must be going stupid but dont know where - advice greatfully received. I have created an EJB project for a simple hello world type stateless session bean that i publish to an 4.2 jboss container . I use eclipse as the editor - and have two projects setup, the first

[jboss-user] [Installation, Configuration Deployment] - Re: SSL Configuration

2007-05-27 Thread jwcone
Check the documentation. http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch9.chapt.html#ch9.https.sect View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048942#4048942 Reply to the

[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread fhh
You have to use @Remote(RemoteInferface.class) on the bean or @Remote on the remote inteface. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048944#4048944 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - A serious error has occured while assembling the SOAP Fault

2007-05-27 Thread wizard_nitrkl
I'm new to JBOSS but I can configure juddi on previos versions of JBOSS with MySQL and its working fine, but when I try on JBOSS 4.2.0GA I get an error code 500 while publishing or making some inquiry while jUDDI is happy. Error log is like ERROR org.apache.juddi.registry.AbstractService -

[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread wiggy
felix - thanks but i think have - if i put the @Remote (RemoteInterface.class) on the bean then i can find it by JNDI lookup. if i comment that out and rely on the @Remote on the interface class itself then i dont see to see it. either way i cant seem to get Dep Inj to work - not even

[jboss-user] [Installation, Configuration Deployment] - Re: Seperate log4j.xml for each application

2007-05-27 Thread jwcone
The Wiki is your friend. http://wiki.jboss.org/wiki/Wiki.jsp?page=ScopedLoggingConfig View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048948#4048948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048948

[jboss-user] [JBoss AOP] - Re: What do i do wrong?

2007-05-27 Thread [EMAIL PROTECTED]
The META-INF/jboss-aop.xml needs to go in a jar with the .aop extension. As mentioned in the other thread, see the injboss tutorial example. In the jboss aop download it can be found under docs/aspect-framework/examples/injboss View the original post :

[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread fhh
You have to add jndi.proeprties to set the proper InitialContext() to get dependency injection working. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048950#4048950 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: JdbcDatabaseAccess initialization failed

2007-05-27 Thread jwcone
anonymous wrote : Did I missed something during my installation? Based on the information provided, I'd lay money that the problem can be found in your deployment, your configuration, or your code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048951#4048951

[jboss-user] [Installation, Configuration Deployment] - Re: Stupid Class loading problem

2007-05-27 Thread jwcone
I'd put everything in an EAR. Deploy your common classes as jar files inside the EAR, and reference them in the application.xml file (). Deploy your SARs in the EAR, and reference them in the jboss-app.xml file (). View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss Email service

2007-05-27 Thread jwcone
Read the Wiki for help configuring JavaMail. http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail As far as how to use JavaMail, you'll need to use JNDI to lookup and get a mail Session and then go from there. Google is your friend. View the original post :

[jboss-user] [JBoss Seam] - Re: problem with page parameter and back

2007-05-27 Thread henrik.lindberg
If anyone is interested... I had to provide a fix, so I added a urlrewrite call to pick up the parameter I needed, lookup the component that needed the parameter before forwarding the request to the seam page. My filter sets the property directly on the component . I then removed the page

[jboss-user] [Installation, Configuration Deployment] - alt-dd in jboss-app.xml

2007-05-27 Thread ptriller
Hello ! I want to make a build system for an EAR of an EE5 app and if possible I want to keep the contained Modules free of any vendor specific configuration. So for example I dont want to package the jboss-web.xml im my contained WAR or the jboss.xml in my ejb JAR. The EE5 application.xml

[jboss-user] [Messaging, JMS JBossMQ] - Re: Configure queues/topics at application level, Possible?

2007-05-27 Thread jazir1979
This is causing me grief, because we want two different versions of the same app deployed into the same JBoss instance. I have it all working, with two different web context-roots and two loader-repository names which isolates the EJBs just fine. But if I need different queue names for

[jboss-user] [Messaging, JMS JBossMQ] - Re: Configure queues/topics at application level, Possible?

2007-05-27 Thread jazir1979
Well, after thinking about it, I guess this makes perfect sense. If you had a remote client, or a client outside of your app, there'd be no way to know which queue/application it intended to send the message to. So, ignore this ;) jazir1979 wrote : | This is causing me grief, because we

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
matt.drees wrote : What's layout/edit.xhtml look like? Ok. Looks like you're onto something. Below is the code from edit.xhtml where you'll see validateAll is being called. I don't understand why validateAll is problematic. Maybe you can point me somewhere so I can educate myself. Thanks! |

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
I've done some reading here: http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/validation.html There's no mention of using Maps. I suppose that's why you suggested that using s:validate may not work. How would one validate the inputField? Appreciate your help... View the original post :

[jboss-user] [JBoss Seam] - Login redirection not remember page parameters?

2007-05-27 Thread hstang
I am experiencing some problems with login redirection not remembering page parameters. I have a main page (main.xhtml) that goes to another page (call it go.xhtml) which requires login. After successful authentication, go.xhtml does not remember the page parameter that was passed in

[jboss-user] [JBoss Seam] - Re: Login redirection not remember page parameters?

2007-05-27 Thread hstang
I am using most up-to-date Seam-CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048961#4048961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048961 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista

2007-05-27 Thread mygol
i want to use tomahawk schedule,but no successful. could u send your web.xml to me.thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048962#4048962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048962

[jboss-user] [Messaging, JMS JBossMQ] - Re: How to use Messaging from a remote client? (JBoss 4.2.0)

2007-05-27 Thread JasonHsu
Does anybody have this kind of issue? or please advise me if I should consider to modify my architecture and install JBoss on each client app and build remote queue to each client then make the client app communicate with their local queue? View the original post :

[jboss-user] [JBoss Seam] - Validation in Restful mode

2007-05-27 Thread blackers
I have an action that is called from a form on another site and am using the restful mode. I have an action called from pages.xml. The issue I have is that using this method my validation does not get called, is there a way that the hibernate validation (annotations in my entity bean) can be