[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-09-03 Thread habicht
i would like to repeat my questions from the post above. does that code example from the link 2 posts above work for Portal 2.6? do i have to create a jboss-service.xml, if yes where, or do i have to copy this mbean-code into an existing file? View the original post :

[jboss-user] [JBoss Portal] - Re: preferences in portlet-instances.xml

2007-09-03 Thread habicht
i tried again with other portlets. after adding the necessary info into the portlet.xml and portlet-instances.xml, deploying and restarting, i only received the value from the portlet.xml file. after wiping the database again i got the correct value from the portlet-instances.xml file. View

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS 5 Beta 2

2007-09-03 Thread purnendu9
JBOSS 5 Beta 2 does not start with Netbeans IDE. Who can help with this. which forum is best for it? Netbeans/ JBOSS The startup gets stuck at the following statement 23:09:47,972 INFO [ServerImpl] Starting JBoss (Microcontainer)... 23:09:47,973 INFO [ServerImpl] Release ID: JBoss [Morpheus]

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS 5 Beta 2

2007-09-03 Thread jaikiran
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080363#4080363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080363

[jboss-user] [Beginners Corner] - Re: Custom MBean

2007-09-03 Thread jaikiran
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080364#4080364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080364

[jboss-user] [Security JAAS/JBoss] - Re: No Principal propagation to SessionBean

2007-09-03 Thread jaikiran
See if Q3 and Q7 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ are of any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080366#4080366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080366

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS 4.2.1 GA does not work with SEAM in netbeans

2007-09-03 Thread purnendu9
I tried creating a sample project in netbeans using the Seamgenerator with no manual configuration change. These are the steps i followed 1. I downloaded and added the JBOSS 4.2.1 GA to Netbeans as a server 2. I created a Enterprise Skeleton app using the netbeans Seamgenerator plugin 3. I used

[jboss-user] [JBoss jBPM] - Re: deploy jbpm3.1.2 to tomcat5.0.28 with oracle9i

2007-09-03 Thread muddsar
Hi everybody, i am trying to configure jbpm 3.2.1 with Oracle database but i am not successfuly in deploying completely...can anyone post here the action steps to configure with oracle9i database. Thanks Muddsar View the original post :

[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2007-09-03 Thread [EMAIL PROTECTED]
The doc says you need to reference your listerner as an mbean. So if you don't have one already create a sar file with a jboss-service.xml file View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080371#4080371 Reply to the post :

[jboss-user] [EJB 3.0] - Re: ejb-jar.xml file

2007-09-03 Thread itsme
We don't use them, but as far as I understand it all can be declared by annotations on class or method level. Have a look at http://java.sun.com/javaee/5/docs/api/ and watch out for javax.annotation.security - package. The roles itself must be defined in login-config.xml in conf-dir of your

[jboss-user] [JBoss Seam] - Re: seam transactions

2007-09-03 Thread motte1979
If i understood it correctly transaction:entity-transaction entity-manager=entityManager/ and transaction:ejb-transaction / defines the transactionmanager to use. and the flag transaction-management-enabled=true is for enabling seam to manage transactions. View the original post :

[jboss-user] [JBoss jBPM] - Re: custom task instance problem

2007-09-03 Thread XerXes_BPM
hi guys, ok it was just a small problem in the hibernate mapping file. it has been a long time since i mapped the last subclass... regards gregor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080381#4080381 Reply to the post :

[jboss-user] [Clustering/JBoss] - Initial State Trafer failed

2007-09-03 Thread ShanthiShanmugam
I am using jboss cache version 1.4.1 sp3 in my application which is running on Jetty server.During the start up of the cache,it is throwing Initial state transfer failed exception. I have attached my log file below In the following log, I could see the LEAVE Req message.When the leave request

[jboss-user] [JBoss Seam] - Re: JSF or Seam Question? - Now, hopefully, to be a Seam enh

2007-09-03 Thread [EMAIL PROTECTED]
Sounds good. I added my vote. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080384#4080384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080384 ___ jboss-user mailing list

[jboss-user] [Security JAAS/JBoss] - Re: No Principal propagation to SessionBean

2007-09-03 Thread pvelarde
Hi and thanks for your quick answer, Yes, as Q3 shows I've added to my config-file the line: login-module code=org.jboss.security.ClientLoginModule flag=required / but it does not work. If I use a jsp login form (j_security_check) it works fine; my login method consists in a Delphi

[jboss-user] [JBoss Seam] - Reducing size of the default JBoss AS 4.2.1 server for Seam

2007-09-03 Thread demetrio812
Hi, I'm trying to install JBoss AS 4.2.1 to load 2 seam application on a virtual server. The problem is that it has just 64MB of memory (I'm asking if I can increase it) and after the installing of both application and starting the server it remains only 9MB free. What services can I put out

[jboss-user] [JBoss Seam] - Entity Convert

2007-09-03 Thread nusseis
Hi all, I'm working with seam and jboss since a few weeks. Now I'm trying to fill a selectOneMenu with an object using s:convertEntity / The problem is, I want to submit that form containing the selectOneMenu and save it in the database. As I click on the submit button the jboss server does

[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-03 Thread mnrz
fernando, really thanks for your nice solution, it worked fine, but another problem when I select a user the information is displayed correctly, now consider I am changing some info say, address or contact number, how to manage this changed data at server and synchronize the changed User with

[jboss-user] [JBoss Seam] - Re: Entity Convert

2007-09-03 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080394#4080394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080394 ___

[jboss-user] [JBoss Seam] - Re: Reducing size of the default JBoss AS 4.2.1 server for S

2007-09-03 Thread wise_guybg
Hi, this url was posted a while ago: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080395#4080395 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080395

[jboss-user] [JBoss Seam] - Re: Entity Convert

2007-09-03 Thread amitev
Are you using SMPC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080397#4080397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080397 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: End the existing and create new conversation

2007-09-03 Thread harpritt
Fantastic i was wondering how to do this. ive been ploughing through my app (seam is awesome, bloody steep learning curve but worth it) and am at the point where im adding performace / memory enhancements ant was wondering about all the conversations that get started. View the original

[jboss-user] [JBoss Seam] - Re: Reducing size of the default JBoss AS 4.2.1 server for S

2007-09-03 Thread demetrio812
Thank you! the document is very usefull...if someone tuned it for Seam I would ask which services are to put out... btw I will make some test removing and looking if it works and so on... thank you again! Demetrio View the original post :

[jboss-user] [Beginners Corner] - Re: Can't get Datasource outside container (4.2)

2007-09-03 Thread Raist_Majere
Look for anonymous wrote : use-java-context - A boolean indicating if the jndi-name should be prefixed with java: which causes the DataSource to only be accessible from within the jboss server vm. The default is true. in http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources View the

[jboss-user] [JBoss Portal] - Re: LinkageError when accessing to admin portal

2007-09-03 Thread selia68
Hi Angelo, I have the same problem. I found a work-around: -Start Jboss without the custom ear application -login as admin in jboss portal -visit admin page -deploy ear application After it you can redeploy your application as many times you need. However if you have to re-start jboss you have

[jboss-user] [EJB 3.0] - Re: Can not seem to name foreign keys in relationships

2007-09-03 Thread baronDodd
Thanks for the suggestion, unfortunately it did not solve the issue: org.hibernate.MappingException: Unable to find column with logical name: catalogue in org.hibernate.mapping.Table(Catalogue) and its related supertables and secondary tables From what we have learnt we know the following:

[jboss-user] [JNDI/Naming/Network] - Re: Extremely basic JNDI question

2007-09-03 Thread stevev
Thanks Wayne. Do you know whether a web contexts ENC can be set up dynamically with MBeans under JBoss. I know that Tomcat has pretty good MBeans support and in stand alone mode this can be done, but as far as I know JBoss handles Tomcat's JNDI when it's embedded. Any thoughts? Steve View

[jboss-user] [JBoss Seam] - Re: Scheduled tasks

2007-09-03 Thread pdhaigh
That is perfect. Extremely elegant :-) cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080406#4080406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080406 ___ jboss-user

[jboss-user] [JBoss Portal] - where is the thirdparty libs of jboss portal 2.61

2007-09-03 Thread [EMAIL PROTECTED]
I am new to jboss portal. I did what as the wiki said to run sh build.sh or run build.bat in windows. but they all report a missing file. and I check the svn trunk. in the thirdparty directory. this is a nothing more than .project file. what do I need to do to complie the jboss portal source

[jboss-user] [JBoss jBPM] - Group Assignment(Very Urgent Plz)

2007-09-03 Thread mr.sathya
Hi All..! I am new to JBPM.Could u please help in this..! I created tasks like this Task1--Task2--Task3 after completing the Task1 ,the Task2 is assigned to group of users . Now my problem is when we assign a task to group of users ..it is showing the corresponding task in the group users

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-09-03 Thread bulloncito
Hi there, sorry for the delay, just got a sample minimal test case, here it is: http://bco.homelinux.org/cosas/slinkerror.zip Complete ear + war + jar + src + build.xml ;) I'm running it on jBoss 4.2.1 + Seam2. View the original post :

[jboss-user] [Messaging, JMS JBossMQ] - CommandThreadExecutor : command 'null' threw exception

2007-09-03 Thread gygerl
When deploying webapp - by deploying jbpm-war - in order to launch the CommandThreadExecutor, got this error appearing : 11:23:38,491 INFO [STDOUT] command 'null' threw exception. rolling back transaction | 11:23:38,501 ERROR [CommandExecutorThread] java.lang.NullPointerException This error

[jboss-user] [EJB 3.0] - Relation many to many based on views

2007-09-03 Thread Sadreg
There is two tables which are connected with help of view. View has only two ids of those tables. We have also two entities which are based on those tables. To connect entities I use @ManyToMany and @JoinTable annotations. In @JoinTable annotation I tried to use view as join-table. Everything

[jboss-user] [JBoss Portal] - Re: where is the thirdparty libs of jboss portal 2.61

2007-09-03 Thread [EMAIL PROTECTED]
The thirdparty will be filled when you do the build (from the build directory) Check that you have no error (and setup the proxy settings if needed) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080419#4080419 Reply to the post :

[jboss-user] [EJB/JBoss] - problem connecting to EJB3

2007-09-03 Thread alexsbe
Hi , I am a newbie in EJB3, and I tried for days to deploy an EJB I have jboss 4.0.5 installed on red hat. where I want to deploy my EJB. The start logs of jboss for the deployement are ok ex I have : default remote binding has jndiName of LoginEAR/LoginEJB3Bean/remote SO i think that

[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1

2007-09-03 Thread davidjoseph
for example the main build file: i get this error: initioc: [echo] Build JBoss Seam ioc 2.0 compileioc: [javac] Compiling 31 source files to C:\Downloads\jboss-seam\classes\iocclas ses [javac] C:\Downloads\jboss-seam\src\ioc\org\jboss\seam\ioc\spring\SeamTarget Source.java:15:

[jboss-user] [JBoss jBPM] - JBPM and history pseudo-state

2007-09-03 Thread stefju
Hello, I need the equivalent of a UML history pseudo-state in jBPM, but did not find anything like that in the documentation. Is it possible to do that, or has anyone an idea of an easy work around ? Thanks for help Stefano View the original post :

[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1

2007-09-03 Thread davidjoseph
For the spring example, I have this error: [javac] Compiling 10 source files to C:\Downloads\jboss-seam\examples\spring | \exploded-archives-jbosswar\jboss-seam-spring.jar | [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s | pring\BookingService.java:97:

[jboss-user] [JBoss AOP] - Re: [org.jboss.aop.deployment.AspectDeployer:254] failed to

2007-09-03 Thread [EMAIL PROTECTED]
By standalone, I assume you mean precompiled? Is MyChangeHandler an annotation type or a class? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080425#4080425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080425

[jboss-user] [JBoss Seam] - Absolute application path

2007-09-03 Thread pdhaigh
Hi, Is there a suitable equivalent available in a Seam application to get the absolute filepath of the application web root? From a servlet you do this: String applicationPath=((ServletContext)this.getServletContext()).getRealPath(/); Can seam do similar? cheers phil View the original

[jboss-user] [JBoss Seam] - Re: Help !!! Installing Embedded JBoss in tomcat

2007-09-03 Thread davidjoseph
yes that's the whole trace View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080428#4080428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080428 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - EJB lookup problem in EAServer 6.0

2007-09-03 Thread srinivaslekkala
I'm migrating EAserver 4.1 to 6.0. EAserver 4.1 of Web component and ejb component is successfully deployed in 6.0. Web component is working fine but in ejb component is throwing NamingException while lookup. if i verified deployed package in deploy folder of EAserver 6.0 installation this is

[jboss-user] [JBoss Seam] - Problem with JBPM nodes and transitions

2007-09-03 Thread chawax
Hi, I use JBPM to model a business process and I want to integrate it with Seam. Part of the process is composed of nodes and transitions, with no interaction with users (actually no task nodes). But for a reason I can't find, one transition can't work ... My JBPM process is a very simple one

[jboss-user] [JBoss Seam] - Re: Seam email problem

2007-09-03 Thread martin.krajci
I have tried your configuration. ?xml version=1.0 encoding=UTF-8? | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; | xmlns:framework=http://jboss.com/products/seam/framework; |

[jboss-user] [Messaging, JMS JBossMQ] - onMessage:catching all Throwable but message redelivered

2007-09-03 Thread dkane
Dear colleagues, My onMessage method of MDB calls session bean that performs database operations. Some database errors (constraint violation, etc.) are normal cases and should not cause message redelivery. So I wrapped the whole onMessage code into the try..catch . But even if I catch all

[jboss-user] [JCA/JBoss] - mysql v5 connector JTA TX datasource config for AS4.2?

2007-09-03 Thread wiggy
struggling to figure out what the config for mysql as transctional DS looks like. The example in the wiki and in the C:\jboss\jboss-4.2.0.GA\docs\examples\jca directory in the 4.2 install only refer to local-tx-datasource. the mysql connector v5.0 says in its documentation that it supports

[jboss-user] [JBoss jBPM] - logging in to jbpm-console from api code

2007-09-03 Thread rossputin
Hi, does anyone know how I can log into the jbpm-console webapp from java code, so the 'request.remoteUser' field tested in the various .xhtml pages is assigned a value. For example at the moment in an XSLT I am creating a process, and the first task in that process, I then want to click on a

[jboss-user] [JBoss Seam] - Re: s:link tags not being rendered

2007-09-03 Thread jbenilov
Pete, Thanks for those tips; I was indeed missing the jboss-seam-ui.jar. Regards, Jake View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080437#4080437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080437

[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1

2007-09-03 Thread [EMAIL PROTECTED]
Which distribution of Seam? A nightly build or 2.0? Which build target are you running? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080438#4080438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080438

[jboss-user] [JBoss Seam] - Re: Help !!! Installing Embedded JBoss in tomcat

2007-09-03 Thread [EMAIL PROTECTED]
Seam2 isn't targeted at Tomcat 5.5 but Tomcat 6 - http://docs.jboss.org/seam/latest-2.0/reference/en/html/tutorial.html#d0e271 If you are just starting with Seam, its best to run it in a recommenced environment (e.g. JBoss AS or Tomcat 6 with JBoss Embedded) View the original post :

[jboss-user] [JBoss Seam] - Exception deleted entity passed to persist

2007-09-03 Thread hager
hello, I have a OneToMany relation between Pret and EcheancePret. when i create one Pret, a list of EcheancePret is automaticaly created and inserted in the database, but when i want to update my Pret, i have to delete the list of EcheancePret, create and insert a new one, this is my code: |

[jboss-user] [JBoss Seam] - Re: Problem with JBPM nodes and transitions

2007-09-03 Thread [EMAIL PROTECTED]
The JavaDoc for @Transition states Allows the application to set the jBPM transition to be used when an tt@EndTask/tt method is encountered. So, nothing to do with transitions between nodes when tasks aren't involved. View the original post :

[jboss-user] [JBoss Seam] - Re: Seam email problem

2007-09-03 Thread [EMAIL PROTECTED]
Yes, it does look like your components.xml isn't being read correctly - it should now display 12:05:08,210 INFO [MailSession] Creating JavaMail Session (smtp.gmail.com:465) (the problem with the session-jndi-name approach is that control of the mail session is no longer in Seam and so I don't

[jboss-user] [Security JAAS/JBoss] - problem creating a new tomcat authentication method

2007-09-03 Thread antoniofer
Hello, I'm trying to create a new web authentication method following the next procedure: - based on FormAuthenticator.java i've coded a new class (well, i've just copied FormAuthenticator but with different name in order to prevent errors) - added the line CUSTOM=my custom class in

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Obtaining Servlet Container Instance

2007-09-03 Thread kumar.vi
We have AJP13 protocal for comm. between JK and JBoss server. Request generated by JK are handled by AJP Connector running in JBoss. My understanding of code is this: Client Request --- mod_JK --- AJP Connector --- AJP Processor --- --- Final Request is sent to container(Code is something like

[jboss-user] [JBoss jBPM] - Re: attach javascript to jpdl generated task form save butto

2007-09-03 Thread rossputin
Hi, working with the standard jbpm-console, if I set 'required=true' on a form input and press 'save', it does indeed prompt me to enter a value in the field, however, I can just start and end the task, using the transition links without ever having to enter anything in the required field, are

[jboss-user] [EJB 3.0] - @PostPersist called before Transaction ends

2007-09-03 Thread fatbatman
I have a @PostPersist EntityListener which I expected to be called after the transaction is finished and the data is in the database, however this doesn't seem to be the case. The EntityListener is called before the transaction ends when the data is not yet in the database, meaning a rollback

[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

2007-09-03 Thread wolfc
Doh! 13:12:36,630 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** CONTEXTS IN ERROR: Name - Error | | HASessionState - java.lang.IllegalArgumentException: Wrong arguments. setHAPartition for target

[jboss-user] [JBoss Seam] - Re: Entity Convert

2007-09-03 Thread nusseis
@pete: thanks buddy, you're making my day, that works! @amitev: no, I don't...at least I think I don't :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080456#4080456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080456

[jboss-user] [JBoss Seam] - Re: Seam email problem

2007-09-03 Thread martin.krajci
My components.xml is in ear/war/WEB-INF. The debug=true doesn't help because the componenet has not been read. I have changed the source of seam MailSender.java private String sessionJndiName = java:/Mail; | |@Create | public void create() throws NamingException | { |

[jboss-user] [JBoss Seam] - Re: Seam email problem

2007-09-03 Thread martin.krajci
The changed source is MailSession.java (not MailSender.java). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080458#4080458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080458

[jboss-user] [JBoss Seam] - DataModel and DataModelSelection

2007-09-03 Thread wschwendt
One thing that I don't understand is why a @DataModelSelection annotation can ONLY be used in a component when there is also a @DataModel annotation placed on a field or getter method of this component ( Component.getDataModelSelectionName() enforces this). What are the reasons for this

[jboss-user] [JBoss Seam] - Re: Problem with JBPM nodes and transitions

2007-09-03 Thread chawax
Well it's strange because transition from Node1 to Node2 works well with @Transition ... Anyway, how can I do to fire a transition from an action (method of a Seam component) ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080462#4080462 Reply to the post :

[jboss-user] [Beginners Corner] - How to create a POJO at the the start of application and att

2007-09-03 Thread satya400
How to create a POJO at the the start of application and attach it to JNDI automatically? I am migrating an application from Tomcat to JBoss. In the current application setup, we have a POJO and it is loaded automatically by Tomcat and placed under JNDI ( with a prefix of java:comp/env/)

[jboss-user] [JBoss Seam] - SelectDate - classpath issue

2007-09-03 Thread endremr
Hi! I'm using Seam 1.2.1 in couple of applications, both deployed as portlets inside JBoss 4.0.4 / JBoss Portal 2.4.1. Both of these applications now uses the SelectDate component, and this causes classpath issues when accessing the second application. Both my applications uses scoped class

[jboss-user] [JBoss Seam] - Re: Problem with JBPM nodes and transitions

2007-09-03 Thread chawax
To be more precise ... When I used JBPM without seam, I had to write these lines in my action handlers so that the process continues : public void execute(ExecutionContext context) throws Exception { | context.leaveNode(); | } What should I do with Seam to make it work the same ? View

[jboss-user] [JCA/JBoss] - Re: mysql v5 connector JTA TX datasource config for AS4.2?

2007-09-03 Thread vickyk
wiggy wrote : | Does anyone know the correct format for a mysql JTA configuration to load in the App server so i can use mysql as a JTA datasource? | Go through these links http://forums.mysql.com/read.php?39,33311,33312 http://bugs.mysql.com/bug.php?id=17734 BTW if you want 2PC working

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Positional parameters in JBoss 4.2 AS not working?

2007-09-03 Thread freiser
Hello, I'm using JBoss 4.2.0 AS to connect to a Oracle 10gR2 database. I have created a dynamic query with em.createQuery(SELECT a, b, c, d, e FROM table(srf(?,?)); Then I set the properties (one date and one Integer value) with query.setProperties(1, a) and query.setProperties(2, b) But this

[jboss-user] [EJB 3.0] - EJB3.0 can not separate stateles bean from its interface!

2007-09-03 Thread begimot
I couldn't find similar topic so I am opening a new one. I have an ejb.jar. Inside it I have one stateless bean. The bean interface is putted in separate jar - ejb-interface.jar. I am using maven and it packages the both jars inside ear.jar +ear.jar +ejb.jar +ejb-interface.jar No I am

[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-03 Thread fernando_jmt
Yes, you're right, user is stateless, but take a look what return initUser method. It returns the reference to the instance variable user. So, this should work: | private User user; | public void saveCurrentUser() { | userDao.update(user); | } | BTW, I improved a bit my last

[jboss-user] [EJB 3.0] - Re: EJB3.0 can not separate stateles bean from its interface

2007-09-03 Thread begimot
Sorry the name of the topic is misleading. It must be: EJB3.0, I can not separate stateless bean from its interface! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080478#4080478 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Urgent Help Required

2007-09-03 Thread muddsar
the given link is for MySql but i have given configuration info of oracle in all steps but still problem not resolvedcan anyone post exact steps to configure oracle with jbpm View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080479#4080479 Reply to the post

[jboss-user] [JBoss Portal] - ClassCastException when using MyFacesGenericPortlet

2007-09-03 Thread jaboj
We're about to upgrade our portal application from Portal 2.4 to 2.6. In the portlet.xml, the portlets uses the portlet-class org.apache.myfaces.portlet.MyFacesGenericPortlet We've tried with version 1.1.1 and 1.1.5 of MyFaces. When accessing the portal application we faces a

[jboss-user] [JBoss jBPM] - Re: Urgent Help Required

2007-09-03 Thread Marc321a
Try this link from the jbpm wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcatOracle Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080483#4080483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080483

[jboss-user] [Beginners Corner] - Re: Can't get Datasource outside container (4.2)

2007-09-03 Thread viniciuscarvalho
Thanks, that did the trick :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080486#4080486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080486 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-03 Thread mnrz
yes, but saveCurrentUser() that you declared only updates the instance variable user and the changes maded by user at client is not visible here. in other words, when I click on submit the changes I've made, not binded to any variable at server-side. I'm not sure I could clarify myself or not

[jboss-user] [JBoss Seam] - Re: Problem with JBPM nodes and transitions

2007-09-03 Thread chawax
I found a solution on another post on this forum. I inject processInstance then I can call processInstance.getRootToken().signal() and it works. Something like that : public class AfficherMessageConsole { | | @In | private org.jbpm.graph.exe.ProcessInstance processInstance; |

[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-03 Thread fernando_jmt
Did you try it? Because I have the same case (I wrote) working in my application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080489#4080489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080489

[jboss-user] [JBoss Portal] - Re: ClassCastException when using MyFacesGenericPortlet

2007-09-03 Thread [EMAIL PROTECTED]
MyFacesGenericPortlet doesn't care about the version of Portal, it does not rely on JBoss Portal. (It's a generic class for any JSR-168 container) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080491#4080491 Reply to the post :

[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-03 Thread fernando_jmt
Also take into account the last change I did regarding the reloading of the user, because if a new instance of the same user is reloaded every time, then you don't expect to have the same reference instance variable updated. View the original post :

[jboss-user] [EJB 3.0] - Re: Can not seem to name foreign keys in relationships

2007-09-03 Thread baronDodd
Fixed it, it was the precence of the following that was causing the problem: @UniqueConstraint(columnNames={name,catalogue} Should have been @UniqueConstraint(columnNames={name,catalogueFK} View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080493#4080493 Reply

[jboss-user] [EJB 3.0] - Registring new MDBs on startup

2007-09-03 Thread viniciuscarvalho
Hello there! I'd like to know if it is possible to register new MDBs on the startup. I'm developing a custom deployer, that reads an specific configuration-file. I need to register message listeners according to the xml. Registring the listeners is no problem at all. What I really would like to

[jboss-user] [JBoss Seam] - Re: BigDecimal and JSF f:convertNumber

2007-09-03 Thread atao
Can we have such a converter in Seam UI. Is it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080496#4080496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080496 ___

[jboss-user] [JBoss Portal] - Re: ClassCastException when using MyFacesGenericPortlet

2007-09-03 Thread jaboj
OK, maybe the MyFacesGenericPortlet doesn't care about the Portal version, but nevertheless we get a ClassCastException when the MyFacesGenericPortlet attempts to get a handle to the FacesContext. The exception occurs in the facesContext method: | protected FacesContext

[jboss-user] [JBoss Seam] - hibernate validator: how to access seam component

2007-09-03 Thread amashtakov
Hi everybody, There are two ejb-s: - Account (entity) Account { ... @AccountLogin public String getLogin() {...} ... } - AccountManager (session) @Name(accountManager) AccountManager { ... public Account

[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

2007-09-03 Thread wolfc
The only thing I don't like yet is the fact that after dependencies are satisfied I do another lookup. Thus for a SFSB two instances are created. Either the plugin shouldn't do a lookup (iterate list?) or I should use the target. View the original post :

[jboss-user] [JBoss Seam] - Re: BigDecimal and JSF f:convertNumber

2007-09-03 Thread amitev
I also vote for such converter in seam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080499#4080499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080499 ___ jboss-user mailing

[jboss-user] [JBoss Portal] - Re: ClassCastException when using MyFacesGenericPortlet

2007-09-03 Thread [EMAIL PROTECTED]
So i guess you also moved from JBoss AS 4.0.5 to JBoss AS 4.2.1 See: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces if you want to run MyFaces instead of Sun RI. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080502#4080502 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB3.0 can not separate stateles bean from its interface

2007-09-03 Thread begimot
Ok, I found a solution. In the application.xml I marked ejb-interface.jar as an ejb module. But I don't understand why it is not possible just to move out the ejb interfaces, as so and so they will be use by other modules. View the original post :

[jboss-user] [JBoss Portal] - ActionRequest.sendRedirect doesn't work properly

2007-09-03 Thread saint_ua
My environment: JBoss Portal Version: 2.6.1 I have downloaded binary files from JBoss site JBoss AS Version: 4.2.1 Database Vendor and Version: PostgerSQL Server 8.1 OS Platform: Windows 2003 Server Hello! I have the followed problem ActionRequest.sendRedirect method not working on Portal 2.6.1

[jboss-user] [EJB 3.0] - Stateful Exception

2007-09-03 Thread jc7442
I implement a stateful EJB3. Some of the methods of the session bean return exception. By default, when an exception is thrown in a stateful session bean, bean is destroyed. In my case, exception are declared in the API of the method. I'd like that some excepiotn does not destroy the stateful

[jboss-user] [JBoss Seam] - Re: hibernate validator: how to access seam component

2007-09-03 Thread [EMAIL PROTECTED]
Use Component.getInstance(accountManager); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080508#4080508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080508 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1

2007-09-03 Thread davidjoseph
It was the latest checkout from CVS. What I did now is: I removed all files from the checkout dir and updated again from the repository. Now the build runs successfully. Strange... I cannot explain how this is possible. Thanks for you help though. View the original post :

[jboss-user] [JBoss Portal] - Re: ActionRequest.sendRedirect doesn't work properly

2007-09-03 Thread [EMAIL PROTECTED]
It's a known issue that has been fixed in SVN, see: http://jira.jboss.com/jira/browse/JBPORTAL-1611 The fix will be part of 2.6.2 due on October 1st View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080510#4080510 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Stateful Exception

2007-09-03 Thread jc7442
Sorry, ApplicationException works fine for me. I had another error. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080513#4080513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080513

[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

2007-09-03 Thread alesj
wolfc wrote : The only thing I don't like yet is the fact that after dependencies are satisfied I do another lookup. Thus for a SFSB two instances are created. Either the plugin shouldn't do a lookup (iterate list?) or I should use the target. Hey, you're the JNDI expert, I just hacked a

[jboss-user] [JBoss Seam] - Re: DataModel and DataModelSelection

2007-09-03 Thread wschwendt
wschwendt wrote : | If not, we cannot really leverage the org.jboss.seam.framework package, if DataModel selection should be handled. | as a workaround, of course, the DataModel itself can be injected into an action component with @In instead of injecting the DataModelSelection with

[jboss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2007-09-03 Thread [EMAIL PROTECTED]
XML configuration for replicationFieldBatchMode should be replication-field-batch-mode and not replicationFieldBatchMode, i.e. | replication-config |replication-granularityFIELD/replication-granularity |replication-trigger(whatever you want)/replication-trigger |

[jboss-user] [JBoss Seam] - Running 2.0.0 beta1 on jetty question

2007-09-03 Thread [EMAIL PROTECTED]
Hi, can someone give me some advice on how to run seam 2.0.0 beta1 on Jetty. I'm currently trying to run it using the maven jetty plugin and get the following exception on each request: | ERROR (org.jboss.seam.jsf.SeamPhaseListener) - swallowing exception | java.lang.IllegalStateException:

[jboss-user] [JBoss Seam] - A4J is not defined and seam

2007-09-03 Thread kgoedert
Hello, I´m trying to use ajax4jsf in my seam project. I put ajax4jsf-1.1.1.jar and oscache-3.2.jar in WEB-INF/lib and in components.xml web:ajax4jsf-filter force-parser=true enable-cache=true log4j-init-file=custom-log4j.xml

  1   2   >