[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?

2007-08-13 Thread [EMAIL PROTECTED]
Yes, that is one reason. The other is really from PojoCache point of view, it is more natural to associate with a String id than a Fqn object id. At least that was then. :-) -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073835#4073835 Reply to the pos

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-13 Thread nickarls
Does f:loadBundle see it? Does it work if you just put it in messages.properties? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073832#4073832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073832 _

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-13 Thread urswag
Thanks but it does not change the effect. Simply pwdchange.screen.title is written on the screen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073830#4073830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073830 ___

[jboss-user] [JBossWS] - Re: Issue with local soad:address generated

2007-08-13 Thread richard_opalka
Did you try to modify the file jboss-beans.xml, bean WSServerConfig and its property webServiceHost? Don't forget to ensure that property modifySOAPAddress is set to true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073829#4073829 Reply to the post : http

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss as a windows service cannot stop

2007-08-13 Thread sagimann
By the way (correct my if I'm wrong), but port 1099 is default for naming services or RMI, no? It is possible that stopping involves some RMI client (JMX-based maybe) that tells the server to stop. If your naming service/RMI is provided by some external application, it may be related... View th

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring Log4j for EAR deployed

2007-08-13 Thread arunkrishnank
I think you can do this. You need to have a separate log4j.xml in the EAR"s root folder. Also the log4j.jar has to be loaded via application.xml. You can enable EAR specific class loading using jboss-app.xml to resolve issues with class loading. best regards Arun View the original post : htt

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss as a windows service cannot stop

2007-08-13 Thread sagimann
In my case, as I said earlier, there was no error whatsoever during startup, and no messages at all after I clicked 'stop' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073826#4073826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [JBoss Seam] - Re: authenticate error..

2007-08-13 Thread nickarls
Are you sure you have the latest drools-libraries and you don't have any other versions hanging around the server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073825#4073825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: Auto Generated Value for primary key in oracle.

2007-08-13 Thread nickarls
"voollanagaraju" wrote : Hi, | | I am using JPA @ManyToMany annotaion between two tables(user and group). How could I get an auto generated value for primary key in table group, when I add groups to user. I am using oracle 9i database. | | Nagaraju http://www.hibernate.org/hib_docs/v3/

[jboss-user] [EJB/JBoss] - DOes JBOSS supports Reflection for EJB invocation?

2007-08-13 Thread shah.gaurav
Hi, I m invoking EJB's by reflection method as follows Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1}); But i am not able to invoke...i cant reach upto that method? I have used protocol for communication as jnp://localhost:1099 Can anybody help me out Thanks and

[jboss-user] [JNDI/Naming/Network] - DOes JBOSS supports Reflection?

2007-08-13 Thread shah.gaurav
Hi, I m invoking EJB's by reflection method as follows Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1}); But i am not able to invoke...i cant reach upto that method? I have used protocol for communication as jnp://localhost:1099 Can anybody help me out Thanks and Regard

[jboss-user] [JBoss Seam] - Auto Generated Value for primary key in oracle.

2007-08-13 Thread voollanagaraju
Hi, I am using JPA @ManyToMany annotaion between two tables(user and group). How could I get an auto generated value for primary key in table group, when I add groups to user. I am using oracle 9i database. Nagaraju View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Getting Started Documentation] - Re: hai members

2007-08-13 Thread sriramanjaneya
all the best View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073817#4073817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073817 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Getting Started Documentation] - hai members

2007-08-13 Thread sriramanjaneya
hai members View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073816#4073816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073816 ___ jboss-user mailing list jboss-user@lists.jb

[jboss-user] [JBoss Seam] - Re: authenticate error..

2007-08-13 Thread minamti
If I set required to false on my sessionContext, I get this error. 22:18:08,409 FATAL [application] java.lang.NoSuchMethodError: org.drools.Statefu lSession.insert(Ljava/lang/Object;)Lorg/drools/FactHandle; javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: org.drools.Stat efulSessi

[jboss-user] [JBoss Seam] - authenticate error..

2007-08-13 Thread minamti
I am trying to authenticate a user and write the user's profile into the session context. I am sure this worked before. I have tested it. I downloaded Seam recently from the trunk for another JIRA fix. However, I seem to get some kind of injection error. Am I doing something wrong here ? Tha

[jboss-user] [EJB 3.0] - Re: regardig jboss-beans.xml

2007-08-13 Thread mnrz
thank you all but what if I use embedable EJB with Tomcat 5.5 ? do you have any solution for that? thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073812#4073812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types

2007-08-13 Thread grdzeli_kaci
any idea??? i need it so much :(. did i something incorrect ? :( Thanks In Advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073811#4073811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073811

[jboss-user] [Beginners Corner] - Re: JBoss start: java.lang.NoClassDefFoundError: org/jboss/a

2007-08-13 Thread pesr0412
i have installed jboss4.0.0 with j2sdk1.4.2_15 on windowsxp pro sp2 and got that error when used run.bat with no parameters. then I used run -c all and the error dissapeared. hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073810#4073810 Repl

[jboss-user] [JBoss Seam] - calendar control..

2007-08-13 Thread minamti
I have a date field and with the default ajax4jsf skin, I cannot see the controls to scroll the month. It is there since when I click, the month advances. Is this something anyone else has experienced ? Thanks, M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-08-13 Thread thejavafreak
Ok Pete. Thanks for the confirmation :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073803#4073803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073803 ___ jboss-user mai

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

2007-08-13 Thread monkeyden
Or "D", use surrogate keys and don't let the user edit the PK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073802#4073802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073802

[jboss-user] [JBoss jBPM] - Re: How to define customer bean in jbpm 3.2.1?

2007-08-13 Thread stana
I made a stupid mistak by puting tags in the scope of ! Now, it is working well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073801#4073801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073801

[jboss-user] [JBoss Seam] - Seam 2.0 BETA + problem

2007-08-13 Thread tuxzilla
I am running Seam 2.0 Beta on JBoss 4.2.1. I have a category list as values in an edit entity page. The problem is that in this page if I don't change the category selection I always get a "Not a valid value" error on the selection box when I submit. Even when I change the category selection a

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

2007-08-13 Thread minamti
Thank you. I seem to like approach B. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073795#4073795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073795 ___ jboss-user maili

[jboss-user] [JBoss Seam] - Re: Seam + Ajax4JSF

2007-08-13 Thread matt.drees
An alternative is to set bypassUpdates="true" on your a4j:support tag. You'll still get a flush, but the model won't have changed. I tend to use both flushMode = manual and bypassUpdates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073794#4073794 Reply t

[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question

2007-08-13 Thread viniciuscarvalho
Hello Tim. you mean both source and target loaders? I've seen many references on the topic, I searched quit a lot before annoying you guys :P. I'm using a target as the remote destination, so it's not implemented yet? If you don't mind, is there a date for the CR2? Best regards View the origina

[jboss-user] [JBoss Seam] - Re: The method destroy is called twice

2007-08-13 Thread monkeyden
If you want Seam to call it twice, just use this @BeatADeadHorse annotation. Note: No actual horses, dead or alive, are harmed by this annotation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073787#4073787 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss jBPM] - About the task

2007-08-13 Thread foolpcman
In my opinion,single task will do all the work(e.g:setActors,)in the task-node,When will you use multi-task? Sorry,my english isn't well View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073784#4073784 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss jBPM] - Re: how to realize the

2007-08-13 Thread gorgin
oh,kukeltje,i am new in this forum so i don't know those rules in this forum clearly. now that your email is not available,i won't ask for it any more. but i hope i can still get your help by your reply post View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407378

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.1GA and Hibernate validator - broken

2007-08-13 Thread tynor
FWIW, I've managed to get a working @Email validator by replacing all the hiberate*.jar files in my JBOSS/server/default/lib directory with the following: hibernate-annotations.jar (from hibernate-annoations-3.3.0.GA) | hibernate-commons-annotations.jar (ditto) | hibernate-entitymanager.j

[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically

2007-08-13 Thread nidhi_hs
Not sure on the error. Its working for me. Which version of Jboss portal are you using. Am using 2.6.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073777#4073777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073777

[jboss-user] [JBossWS] - Re: Accessing jaxws web service gives error complaining abou

2007-08-13 Thread jemodurn
I wrote a simple mbean that tries to call a WS. I hit the same issue. However, if call the same WS from a standalone java client. It works, and subsequent call using the mbean also works. I think the class somehow got loaded by the Universal Class Loader. Something is really strange here about

[jboss-user] [JBoss Seam] - EJB3InterceptorsInterceptor instead of EE5SeamInvocationCont

2007-08-13 Thread gena777
Hello, i'm trying to get the testng tests working. Could please someone explain, why the method invocation on a POJO- Seam- component is correctly intercepted by EE5SeamInvocationContext but each call to an ejb3 component is intercepted by EJB3InterceptorsInterceptor if i use the Jboss embe

[jboss-user] [JBoss Seam] - Re: The method destroy is called twice

2007-08-13 Thread [EMAIL PROTECTED]
The destroy callback is always called by Seam. It doesn't know (or care) if you have called this method yourself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073773#4073773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss Seam] - Re: feature idea - conversation names

2007-08-13 Thread matt.drees
I guess I don't like how named conversations work right now - you have to use ELConversationIdParameter, which means you can't do nested conversations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073770#4073770 Reply to the post : http://www.jboss.com/i

[jboss-user] [Beginners Corner] - 4.0.5.GA - Service Pack 1

2007-08-13 Thread dfraser
hi, our app is running into an exception and the problem has been put into JIRA - JBAS-4075. The thing is, JBossAS-4.0.5-SP1 is mentioned as having the fix and I am lost on how to get ahold of that (the service pack). I can't find any links etc, no mention in the download section. so do I

[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically

2007-08-13 Thread explorer
I am not using JSF But i tried using the renderRequest... ServerInvocationContext serverContext = jrr.getControllerContext().getServerInvocation().getServerContext(); That call is throwing the following exception. 19:36:16,531 ERROR [CommandServlet] Exception in command invocation | java.lan

[jboss-user] [JBoss Seam] - Re: The method destroy is called twice

2007-08-13 Thread deved
Yes. I am wrong? Why should be called more than once? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073764#4073764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073764 ___

[jboss-user] [JBoss Seam] - Re: extended persistence context with JavaBeans ?

2007-08-13 Thread [EMAIL PROTECTED]
The lifecycle of an EJB3 extended persistence context is tied to the lifecycle of the bean that is using it. Seam allows you to use a bean with an extended persistence context, but it doesn't provide an extended persistence context to anything. Instead, the seam-managed persistence context is

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread matt.drees
As far as keeping validation logic in the entity itself, you can do something like this: | @Entity | @Name("foo") | @Table(name = "foo") | public class Foo implements Serializable { | ... | @AssertTrue(message = "{invalid.nonRepeatCycle.message}") | public boolean isNonRepeatCy

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException trying to connect

2007-08-13 Thread atuljboss
Okay - I have found the resolution and it is pretty simple but I think it would be important for people to know. The exception was being thrown because I did a cut paste of the block of the JMS provider from MS Word into vi editor on linux (found out it does not matter - even while editing on w

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.1GA and Hibernate validator - broken

2007-08-13 Thread tynor
What he said. Our project just hit a different bug with the validators in JBoss 4.2.1 that has been fixed in validators-3.3.0 (@Email does not tolerate null values as happens with empty JSF text fields -- http://opensource.atlassian.com/projects/hibernate/browse/HV-3). Clear instructions fo

[jboss-user] [JBoss Seam] - Hibernate Search / Compass Gps

2007-08-13 Thread paksegu
Hi, Does the Hibernate search feature in Seam relies on Hibernate persistence or could it be use with other persitence tools like openjpa? Also can compass GPS, be plug into seam framework just as Hibernate search does? Thanks View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: feature idea - conversation names

2007-08-13 Thread [EMAIL PROTECTED]
We already support named conversations, but I'd agree that it would be nice to support the notion of needing to be in a specific conversation to access a resource rather than just saying "requires conversation". I've argued for this for quite some time. View the original post : http://www.

[jboss-user] [JBoss Seam] - Re: The method destroy is called twice

2007-08-13 Thread [EMAIL PROTECTED]
Are you saying that you think that the destroy callback shouldn't be called if you have already manually called it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073756#4073756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[jboss-user] [JBoss jBPM] - Re: OutOfMemoryError in JBPM3.2.1

2007-08-13 Thread kukeltje
http://jira.jboss.com/jira/browse/JBPM-1039 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073755#4073755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073755 ___ jboss-use

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - The type Iterator is not generic; it cannot be parameterized

2007-08-13 Thread maykellff
Hi, i'm getting a bit problem, i was using ExadelStudio Pro 3.5.1, but i migrated to 4.0.1 and the applications that before worked well, sudendly began to raise inexplicable and extrange exceptions. I think i found a clue to discover the mistery, i deployed the same .war in the ExadelStudio Pro

[jboss-user] [JBoss jBPM] - Re: how to realize the

2007-08-13 Thread kukeltje
oh.. .for anybody who is worried I go 'commercial' don't be the remark was not as catchy as I thought it would be and some might not see the meaning behind it that one should not ask for this kind of personal support View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [JBoss Seam] - Re: Seam + Ajax4JSF

2007-08-13 Thread pdhaigh
thanks, is there a way to set the flush mode globally? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073752#4073752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073752

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-13 Thread atao
Only use "messages" to get the message map, i.e.: | | even if you use different bundle names View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073748#4073748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073748 _

[jboss-user] [JBossWS] - Issue with local soad:address generated

2007-08-13 Thread rcherchi
Hi guys, I'm using JBossWS 1.2.0.SP1 and JBoss AS 4.0.5GA ( EJB3 install) I wrote some web services using EJB 3 and I would like to test if they work on the web. However, the generated soap address refers to my local machine name like : http://my-local-machine-name:8080/my-jar-name/MyService?w

[jboss-user] [JBoss Seam] - Re: Deploying to OC4J 10.1.3.1

2007-08-13 Thread mikepaul
Care to add/update the wiki. I would really appreciate to see what you did (and I think others would too). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073746#4073746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073

[jboss-user] [JBoss Seam] - Re: Deploy booking example to another jboss server without G

2007-08-13 Thread neomarch.1981
Solved. I need to drop not only the ear file also the booking-ds.xml file in the deploy directory as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073745#4073745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407

[jboss-user] [EJB 3.0] - Re: Foreign key error

2007-08-13 Thread waynebaylor
are you saving a person before the associated address is saved? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073743#4073743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073743 __

[jboss-user] [JBoss Seam] - The method destroy is called twice

2007-08-13 Thread deved
Hi all. I have this: TableModel.java | @Name("tableModel") | @Conversational | @Scope(ScopeType.CONVERSATION) | public class TableModel { | | @In | private EntityManager em; | | private List data; | | @Begin | public void begin(Class entityClass) { |

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread ellenzhao
"[EMAIL PROTECTED]" wrote : I'm not sure its a good idea, not least because you are going to need to write a custom exception handling layer that correctly deals with transaction management. I wrote that in my conversation beans. Usually when something bad happens due to transaction management,

[jboss-user] [Beginners Corner] - JNDI and DefaultDS

2007-08-13 Thread axel.becker
Hi, i have downloaded the latest stable version of jboss application server (4.2.1.GA Stable 90 MB 2007-07-16) After that i have build a small webapplication which contains a ServletContextListener. Now i want to lookup the DefaultDS in the "contextInitialized"-Method of my

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread ellenzhao
"[EMAIL PROTECTED]" wrote : I'm not sure its a good idea, not least because you are going to need to write a custom exception handling layer that correctly deals with transaction management. Yes you are right. Another problem (which might be serious to some kind of applications) is that it mi

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread ellenzhao
Sorry, the workaround does not really work, I got this exception just now: | ... | Caused by: org.hibernate.PropertyAccessException: Exception occurred inside setter of myproject.entity.Foo.startDate | at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAcc

[jboss-user] [JBoss Seam] - Re: PersistenceContext injection in Seam 2.0beta1

2007-08-13 Thread alexg79
Created. http://jira.jboss.org/jira/browse/JBSEAM-1798 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073734#4073734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073734 ___

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread [EMAIL PROTECTED]
I'm not sure its a good idea, not least because you are going to need to write a custom exception handling layer that correctly deals with transaction management. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073733#4073733 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: release dates for 2.0.0.CR1 / 2.0.0.GA?

2007-08-13 Thread IGx89
They just got nightlies working again: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115974 I'm also very curious about the release dates. Normally one can judge software release dates by the number of open (usually blocking) issues, but the blocking issues for CR1 don't seem to be h

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Specify jar-file in persistence.xml at certain position

2007-08-13 Thread zebathon
The above behaviour still exists as of jboss-4.2.1.GA They made a bug for it here http://jira.jboss.org/jira/browse/EJBTHREE-560 which is marked as "resolved - can not reproduce". I don't think its resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss Seam] - Re: How to display exception messages for fields

2007-08-13 Thread ellenzhao
A problem occurs when there is constraint with date/time type fields. If there is a field called "startDate" and the setter checks if it is later than today. It will be fine for user input but when I want to display an old record, data loading will fail. A work around is that to store a timestam

[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

2007-08-13 Thread ALRubinger
...allright fine, the big secret is: Use the Adaptor Pattern with a Singleton obtained through a Factory, and EJB3 will work for you. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073729#4073729 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

2007-08-13 Thread ALRubinger
Glad that worked for you. :) Looks like you're reading all the right stuff, including this forum. But keep in mind there's no one correct way of doing things, and often your simplest "practice" or "design pattern" is the best choice. I promise that's not a cop-out answer. S, ALR View the ori

[jboss-user] [JBoss Seam] - Re: PersistenceContext injection in Seam 2.0beta1

2007-08-13 Thread [EMAIL PROTECTED]
Yes, I can see this to. Can you file a JIRA issue please? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073726#4073726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073726

[jboss-user] [JBoss Seam] - Re: SeamGen enhancements

2007-08-13 Thread [EMAIL PROTECTED]
not sure if seam-gen is the right place to this complexity. There are three parts here: 1) Get the right dependencies 2) Get the configuration adjusted 3) Generate source code for "quickstarting" #1 Maven/Ivy is known to handle well #2 if the tool doesn't do it in delta's it will require pr

[jboss-user] [JBoss Seam] - Re: Seam without JSF + Servlet

2007-08-13 Thread reind
Needed the Seam Filter in web.xml... | | Seam Filter | org.jboss.seam.web.SeamFilter | | | Seam Filter | /request/* | Works now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss Seam] - Re: Problems running SeamTest's from mvn with Seam 2.0.0.Bet

2007-08-13 Thread [EMAIL PROTECTED]
Sorry its taken me so long to reply to this. So basically the steps that I needed to do were the following: | public class SeamHelper extends SeamTest | { | ... |@Override |@BeforeClass |public void init() throws Exception |{ | // this is required to get vf

[jboss-user] [JBoss Seam] - Re: Seam SSL form Redirect

2007-08-13 Thread [EMAIL PROTECTED]
You probably forgot the namespace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073721#4073721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073721 ___ jboss-user mailing l

[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

2007-08-13 Thread benc
Thanks ALR, The class entry was what I was missing. I had tried the jar-file entry and JBoss couldn't find it. It doesn't seem to going relative to bin in 4.2.1; but, I can't make it construct the correct path. This is my first foray into EJB3 land. I've been reading JBoss docs, trail blaze

[jboss-user] [JBoss Seam] - Re: Seam SSL form Redirect

2007-08-13 Thread glblack
The application failed to deploy after using . I did find a solution by modifying the server.xml for the jboss.web connector. Adding scheme="https" to the Connector set the correct scheme for the HttpServletRequest to return the correct scheme. Unfortunately, this creates the reverse problem o

[jboss-user] [JBoss Seam] - Re: Nested EL in .xhtml and s:hasRole hard-coding removal

2007-08-13 Thread asookazian
The work around to this problem is the following: in the .xhtml file, use the following code for the restriction: where authorizor is a SLSB and the method is isDisplay() that returns boolean. This works fine and removes the hard-coding that was used in the s:hasRol

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Having a problem with jboss-4.2

2007-08-13 Thread PeterJ
Explorer, you should start a new post, not append to someone else's post, especially one that is months old. Also, do not ask the same question multiple times. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073715#4073715 Reply to the post : http://www.jbos

[jboss-user] [Messaging, JMS & JBossMQ] - Re: connectionFactoryJndiName config property

2007-08-13 Thread rosama77
"rosama77" wrote : If this work for you, this was my solution, applying scenarios 2 from the documentation examples: | | modify jboss-service.xml (there I defined a ConnectionFactory): | | | | WSMQXAMQFACTORY | Queue | false |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss as a windows service cannot stop

2007-08-13 Thread PeterJ
"its trying to look for some thing on port 1099" What is trying to look for something on port 1099? "its not able to find," What is it not able to find? And what is attempting to do the finding? Are you saying that there is a port binding conflict on port 1099 when you start the app server? If

[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja

2007-08-13 Thread [EMAIL PROTECTED]
Not currently. I don't think there is a JIRA feature request for this open either. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073712#4073712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073712 __

[jboss-user] [Management, JMX/JBoss] - Re: JMX MBean attribute fetch in Web Service Bean possible?

2007-08-13 Thread PeterJ
Use this code within the web service running in JBoss AS: String homeDir = System.getProperty("jboss.home.url"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073711#4073711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [Beginners Corner] - Re: Login for Web-Application

2007-08-13 Thread PeterJ
First, when posting xml content, bracket it with [ code]..[ code ] (without the spaces). you can easily do this by selecting the text and clicking the Code button. I noticed that you used < code > brackets, but that will not work other than forcing fixed-width font, the tags within the xml can

[jboss-user] [JBoss Seam] - Re: PersistenceContext injection in Seam 2.0beta1

2007-08-13 Thread alexg79
Alright, I picked up the latest CVS version and Session injection indeed seems to work now. However, while testing I also noted that getDelegate() from a proxied EntityManager (@PersistenceContext(type = EXTENDED)) throws a NPE. Is this supposed to work? View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: Using stateless beans generated by seam in standalone Ja

2007-08-13 Thread JbossDing
Hi Pete and Matt, Thanks for the reply. I just wonder is there a way for seam-gen to generate EJB session beans instead of seam javabean components. In seam-gen setup, I specify it is ear project, but it still generates javabean. Thanks View the original post : http://www.jboss.com/index.html?

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is JBoss running?

2007-08-13 Thread PeterJ
See http://wiki.jboss.org/wiki/Wiki.jsp?page=DebugBindException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073707#4073707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073707 ___

[jboss-user] [JBoss Seam] - Re: Deploy booking example to another jboss server without G

2007-08-13 Thread neomarch.1981
Actually, I have a question one step further. In my scenario, I develop seam application with jboss on different environment. I develop it on windows and deploy it on debian. Is there a way that I could possibly deploy the application onto the server with least modifications of code/configuratio

[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

2007-08-13 Thread ALRubinger
Well, you've got an association between tables that are managed by two separate Persistence Units... What documentation directed you to take this approach? To get classes from different JARs in the same persistence context, use the "jar-file" or "class" nodes under the "persistence-unit" root i

[jboss-user] [JBoss Seam] - Re: Deploy booking example to another jboss server without G

2007-08-13 Thread neomarch.1981
"[EMAIL PROTECTED]" wrote : Looks to me like your jndi-pattern is wrong. Could you please give more details? Is there any environment-dependent configuration in jndi-patterns? Because I copied the working ear file and dropped it in the deploy directory without any modification. View the origina

[jboss-user] [EJB 3.0] - Re: JMS: using Websphere MQ as JMS provider.

2007-08-13 Thread adamhmitchell
I think that ClassCastException happens when the JBossMQ code pulls your IBM MQ class from JNDI. You're still using the JBoss MDB JMS Provider. I was in the same boat trying to use Sun's IMQ server. This is how I got it working: | package elm.mdb; | | import javax.ejb.ActivationConfig

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError on Windows

2007-08-13 Thread PeterJ
No, there is no timeout. When an object needs to be allocated and there is no room, the app is stopped until the garbage collector is done, and then allocation happens. Unless you are running the concurrent collector. I have never seen such a huge drop in the perm gen. The output you showed look

[jboss-user] [JBoss Seam] - Re: Configuring non-ssl connection to smtp server

2007-08-13 Thread jbekas
JIRA ticket created. Linked here for anyone else interested in a solution. http://jira.jboss.com/jira/browse/JBSEAM-1795 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073700#4073700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBoss Seam] - Checkboxes, images and layout

2007-08-13 Thread miloslav.vlach
Hi I would like to show table (6 columns) with checkbox and image. Problem is with seam taglib. do not allowed this. I saw some tip, but with no succes - table with checkboxes and table was rendered, but error after form submition. http://forum.java.sun.com/thread.jspa?threadID=657871&message

[jboss-user] [Beginners Corner] - Re: Exception while testing JBOss testsuite (4.0.5) with TC

2007-08-13 Thread PeterJ
Not with the information you have provided. What is the error you are getting? The full error, with the stack trace, if any. MCP operating system? As in Unisys ClearPath? If so, you have a support contract, their support should help you (after all, you paid for it.) View the original post : ht

[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?

2007-08-13 Thread [EMAIL PROTECTED]
BTW I should note that I would have replaced the String versions in 2.0.0, but I didnt because by the time I joined JBoss Cache was already in CR and I didn't want to make such a significant API change. Also people are used to the String versions from the 1.X series, so leaving them would minimi

[jboss-user] [EJB 3.0] - SSL EJB 3.0 invocation 4.0.5.GA

2007-08-13 Thread paul_da_programmer
I'm trying to bind an EJB service to support SSL only invocation. I'm running the following configuration: JBoss 4.0.5.GA Sun JDK 1.5.0_11 Windows XP / Solaris 9 In my case, the client is another JBoss server of the same configuration. There seems to be two completely different methods to impleme

[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?

2007-08-13 Thread [EMAIL PROTECTED]
Good question. I believe Ben was trying to minimize the amount of API you needed to use to work with POJO Cache. I will add overloaded FQN methods for 2.1.0: http://jira.jboss.com/jira/browse/JBCACHE-1163 -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Need help: jboss 4.2.1 GA startup Failed to initialize t

2007-08-13 Thread PeterJ
Add the option to the JAVA_OPTS line in run.bat. I suspect that the IPv6 is causing the SSL problem. If it is a problem (you did not post the full log entry, so I don't know if it a WARN or an ERROR.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073693#4073

[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question

2007-08-13 Thread timfox
There is an issue with having a remote provider for the bridge source - this has been mentioned several times in this forum. It will be fixed for CR2 once I find enough time to investigate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073692#4073692 Reply

[jboss-user] [JBoss Messaging] - Re: Problems changing defaultds

2007-08-13 Thread timfox
Changing the datasource should be trivial. Just need to update it in xxx-persistence-service.xml. There's no need to change anything related to jgroups View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073691#4073691 Reply to the post : http://www.jboss.com/in

[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question

2007-08-13 Thread viniciuscarvalho
I've enabled TRACE level for log, and just before the error I get: | 2007-08-13 15:39:59,519 TRACE [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] ConnectionEndpoint[q-5a18bb5f-1-a4h7bb5f-b090ze-110j3] processing transaction TX(15360):ACTIVE | 2007-08-13 15:39:59,519 TRACE [org.jb

[jboss-user] [EJB 3.0] - Re: EJB remore client in 4.2

2007-08-13 Thread tonioc
wayne, Thanks, the problem was that a bad log configuration didn't give a readable message, I'm no sure why, but what was missing was hibernate3.jar that is no in the JBOSS/client directory. Now all seems to work fine. Thanks View the original post : http://www.jboss.com/index.html?module=bb&

  1   2   3   >