[jboss-user] [JBoss Portal] - Re: Session objects in PageCustomizerInterceptor and jsp/ser

2007-11-28 Thread bvogt
I got at least a workaround: Portlets: Needed to be derived from: org.jboss.portlet.JBossPortlet in order to access the objects by: JBossRenderRequest.getControllerContext().getServerInvocation().getServerContext().getClientRequest().getSession().getAttribute(attributeName); Custom ThemeTagHandle

[jboss-user] [JBoss Seam] - Re: can we use Hibernate and define its query/database updat

2007-11-28 Thread hanram
hi friends, Can we define the SQL Statement outside as a XML file. Then we will refer to the SQL Statement by name in the Java code. So that there is no need to change the java compiled code...? thx Han View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Data Source Hot Deployment Behavior

2007-11-28 Thread jaikiran
See if this is of any help: http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicallyChangeADatasourceWithRestartingOrRedeployingApplicationsDependentOnIt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108782#4108782 Reply to the post : http://www.jboss.com/ind

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: hibernate logs in jboss 4.2.2

2007-11-28 Thread jaikiran
1) Set show_sql = false in the hibernate.cfg.xml (or hibernate.properties) 2) Add the following to jboss-log4j.xml: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108781#4108781 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2007-11-28 Thread lovelyliatroim
Ok thanks guys, dont have the time at the moment to dig deeper, just assessing at top level what can and cant be done. We thought we could use the cache standalone and also use what the ClusteredCacheLoader has to offer. thanks for input, LL View the original post : http://www.jboss.com/inde

[jboss-user] [JBoss Portal] - Re: JBoss sizing (examples, sites, simple architecture?)

2007-11-28 Thread bvogt
"Jorwo" wrote : Regarding Apache, I was wondering if anyone was using it as the primary web server, with Tomcat/JB Portal behind it. ? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=122584 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108779#410877

[jboss-user] [JNDI/Naming/Network] - Re: Need to configure JNDI

2007-11-28 Thread jaikiran
Do you have JBoss related jar files in the client application's classpath? I usually place the jbossall-client.jar (which can be found in the %JBOSS_HOME%/client folder) in the client's classpath. This has all the required JBoss classes. View the original post : http://www.jboss.com/index.htm

[jboss-user] [Beginners Corner] - Re: Same problem

2007-11-28 Thread jaikiran
Well you know it's the "same problem", so the solution too is the same. Use the -b option as mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108777#4108777 Reply to the post : http://www.jboss.c

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Serialization error

2007-11-28 Thread lema
hi all. an application which works well on jboss-4.0.3SP1 gives an error when the application is deployed onto jboss4.0.4.GA. is there anybody who had faced alike errors? please, any of you experienced ons, give a clue, where the error can be? thanks in advance. lema -

[jboss-user] [JBoss jBPM] - Re: diff between form fields & from controller

2007-11-28 Thread [EMAIL PROTECTED]
meanwhile , when form to be create and if i want to change form , when open it i must redefine all of fields and buttons. is it a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108773#4108773 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss jBPM] - diff between form fields & from controller

2007-11-28 Thread [EMAIL PROTECTED]
in task node when i create a task and go in controller and define the use varibles ,why in generate form fields i must redefine varibles? regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108772#4108772 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - can we use Hibernate and define its query/database update us

2007-11-28 Thread hanram
hi friends, Can we define the SQL Statement outside as a XML file. Then we will refer to the SQL Statement by name in the Java code. So that there is no need to change the java compiled code...? thx Han View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Newbie - Associated tables - How to get value and persist it

2007-11-28 Thread juk
Hello ! I stuck with this problem for couple days... My entities are generated using seam-gen. My Session bean.. | package test.etest.*; | | import java.io.Serializable; | import java.util.List; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persisten

[jboss-user] [Installation, Configuration & DEPLOYMENT] - how can i configure Jboss4.0.2 to share the classes amongs t

2007-11-28 Thread pankajkapley
I am using jdk 1.5. J2ee 1.4. I have made the following changes 1. conf/jboss-service.xml file and set the NamingService CallByValue to true 2. deploy/ear-deployer.xml file and set the Isolated and CallByValue attributes to true 3. deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml file and

[jboss-user] [JBoss Seam] - Re: Ajax and Pageflow very slow

2007-11-28 Thread pietermartin
The exception issue is dealt with at http://jira.jboss.com/jira/browse/JBSEAM-2152 Still not sure about the ajax during pageflows. Thanks Pieter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108768#4108768 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Seam] - Re: pageflow and exception question

2007-11-28 Thread pietermartin
Thanks Pieter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108765#4108765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108765 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBoss jBPM] - Re: GPD 3.1.1

2007-11-28 Thread [EMAIL PROTECTED]
a have same problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108764#4108764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108764 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss jBPM] - Re: GPD 3.1.1

2007-11-28 Thread [EMAIL PROTECTED]
just ant View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108763#4108763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108763 ___ jboss-user mailing list jboss-user@lists.jboss

[jboss-user] [Beginners Corner] - Same problem

2007-11-28 Thread yongheo
Hi, I'm also newbie. I have similar problem. I've got a linux (fedora) machine. And I have JBoss version of [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 20s:527ms And my IP is static, and I can access to web application that I deploye

[jboss-user] [JBoss jBPM] - Re: undeploy process definitions

2007-11-28 Thread amybasu
thanks a lot for the prompt reply View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108761#4108761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108761 ___ jboss-user mailing li

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Execute code on start up.

2007-11-28 Thread Raist_Majere
Well, a few years ago, when I needed something similar, I created an MBean... You can create dependencies with any other MBean (for datasources, web-apps...) if the things you need to do depend on other services. If you can tell more about your needs, I'll try to help. View the original post : h

[jboss-user] [JBossWS] - Re: returning array undefined in web service

2007-11-28 Thread mckeno
Hi Alessio, Here are some more details: The wsdl schema: http://xxx/yyy/services";> | | http://xxx/yyy/services"; version="1.0"> | | | | | | | | |

[jboss-user] [EJB 3.0] - MDB, SLSB, and Pooling

2007-11-28 Thread dfisher
I have a MDB that calls a SLSB in onMessage() and I noticed that a lot of instances of the SLSB were being created. I wrote a quick test with the simplest case of 1 producer, 1 consumer, and 1 SLSB and threw a bunch of messages at it. A MDB will cause 100 instances of the SLSB to be pooled when

[jboss-user] [JBoss Seam] - Re: Example of using Seam (without EJB) with ExtJS

2007-11-28 Thread Fangzx
I have uploaded the full src of the example porject. http://seamextsample.googlecode.com/files/seamextsample-1.0-beta1-src.exe About detail of this example, pls see my blog(but it is in Chinese yet): http://fangzhouxing.javaeye.com/ Any comments are appreciated! View the original post : http:/

[jboss-user] [JBoss Portal] - Re: JBoss sizing (examples, sites, simple architecture?)

2007-11-28 Thread Jorwo
Hello! Soon5, thanks for the inputs. Regarding Apache, I was wondering if anyone was using it as the primary web server, with Tomcat/JB Portal behind it. I've built a project before in which I used Tomcat to process the JSP pages, while Apache would stand in front and process the HTML pages and

[jboss-user] [JBoss Seam] - Re: Roles using LDAPLoginModule

2007-11-28 Thread [EMAIL PROTECTED]
Are you adding userRoles to the subject? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108749#4108749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108749 ___ jboss-user mai

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread [EMAIL PROTECTED]
That is normal behaviour. The password is cleared after successful authentication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108750#4108750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108750 __

[jboss-user] [JBoss Seam] - pattern to form urls for resources requested

2007-11-28 Thread gsegura
Hello, I've read using absolute paths for reaching views is the recommended way, however given that webapp context path is variable some folks have resorted to this technique to resolve contextpath: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120560 But what about URLs to resources

[jboss-user] [JCA/JBoss] - Re: JBOSS 3.22 Sybase DB, I Got An Warning Message From Wrapp

2007-11-28 Thread realvalkyrie
"realvalkyrie" wrote : The Detail Info in below: | [WrappedConnection] WARN Closing a statement you left open, please do your own housekeeping. | I got connection from the DataSource. | | this is my sybase-ds.xml configuration | | jdbc/eusr | jdbc:sybas

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Execute code on start up.

2007-11-28 Thread pedroluppi
I have a agents.war in the deploy folder. I want to automatically start some code execution when the jboss is started, without any user interaction. Is it possible ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108744#4108744 Reply to the post : http://ww

[jboss-user] [Remoting] - Re: Stupid Bisocket question, how do I do invocations on the

2007-11-28 Thread [EMAIL PROTECTED]
Ok, I understand the question. Remoting doesn't currently have a built-in server-to-client invocation facility directly analogous to the client-to-server invocation facility. Of course, you can always explicitly create a Connector on the client side and a Client on the server side. On the oth

[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2007-11-28 Thread [EMAIL PROTECTED]
Perhaps run in replicated mode but for every write set a cacheModeLocal Option? E.g.: | cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true); | cache.put(fqn, key, value); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108742#41

[jboss-user] [JCA/JBoss] - Re: JBOSS 3.22 Sybase DB, I Got An Warning Message From Wrapp

2007-11-28 Thread realvalkyrie
SRY , take the xa DataSource instead of tx DataSource View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108741#4108741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108741 ___ j

[jboss-user] [JBoss Seam] - Re: Roles using LDAPLoginModule

2007-11-28 Thread dennisrjohn
I thought that was the case, but it still doesn't seem to work. I ended up overriding the LDAPLoginModule anyway, here are the relavant pieces: public class LdapLoginModule extends UsernamePasswordLoginModule { private static final String BASE_DN = "dc=body,dc=local"; private sta

[jboss-user] [JBoss Seam] - Re: Should MethodContextInterceptor use a non-event triggeri

2007-11-28 Thread kahliburke
http://jira.jboss.org/jira/browse/JBSEAM-2314 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108738#4108738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108738 ___ jboss-use

[jboss-user] [JCA/JBoss] - JBOSS 3.22 Sybase DB, I Got An Warning Message From WrappedCo

2007-11-28 Thread realvalkyrie
The Detail Info in below: [WrappedConnection] WARN Closing a statement you left open, please do your own housekeeping. I got connection from the DataSource. this is my sybase-ds.xml configuration jdbc/eusr jdbc:sybase:Tds:127.0.0.1:2638?ServiceName=eusr com.sybas

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Data Source Hot Deployment Behavior

2007-11-28 Thread diginside
Hi, In one application we have in production, multiple data sources are specified in one *-ds.xml file. Apparently we have to make changes from time to time. In this particular case, we need to add one data source. In our test run, all the data sources in the file will go through unbinding and

[jboss-user] [Installation, Configuration & DEPLOYMENT] - hibernate logs in jboss 4.2.2

2007-11-28 Thread kosl
Dear all, We have just moved our development to jboss 4.2.2. Everything works fine except that we are getting lots of logs from hibernate like: anonymous wrote : | 01:44:20,976 INFO [STDOUT] Hibernate: | select | cataloguee0_.id as id24_, | cataloguee0_.name as na

[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2007-11-28 Thread [EMAIL PROTECTED]
You are correct, this has to do with a JGroups channel not being opened. Not much you can do, I'm afraid, except perhaps run in replicated mode and then remove the replication interceptor. :-/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108734#4108734 R

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Number of Data Sources /Connection Pools per JBoss Instance

2007-11-28 Thread diginside
Hi, I was asked, during a recent application scalability design discussion, if there is a hard limit on the number of data sources or connection pools per JBoss instance. I personally think this should be tied to the hardware that the JBoss server is run, memory, CPU, etc. Also I'd say it depe

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread b.reeve
Thanks, it worked. I had another question too... I am configuring my identity.login to loginBean.login and my loginBean class is like | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | | @Name("loginBean") | public class LoginBean { | | @In

[jboss-user] [JBoss Seam] - seam and maven

2007-11-28 Thread ericomtx
I'm trying to deploy a sample app from the current site : http://software.softeu.cz/seam/usage.html When I run the command mvn jboss:deploy -e I get the error : [INFO] No server specified for authentication - using defaults [INFO] --

[jboss-user] [JBoss Seam] - Re: Roles using LDAPLoginModule

2007-11-28 Thread [EMAIL PROTECTED]
It should just work. The subject is passed in the LoginContext when you authenticate with Identity.login(), and as long as your login module conforms to the standard of placing roles inside a group called "Roles" then any roles granted by the login module will be reflected by Identity.hasRole()

[jboss-user] [JBoss Seam] - EntityHome throws 'EntityManager is closed' when app marked

2007-11-28 Thread superflav
I'm working on an application that makes extensive use of Seam's EntityHome base class to manage entity bean instances. This works great in a non-clustered environment, but is causing "java.lang.IllegalStateException: EntityManager is closed" exceptions to be thrown when the web application is

[jboss-user] [JBossWS] - Re: Soap service returning complex objects(Such as hashmaps)

2007-11-28 Thread mwkohout
at least in my instance I get the same result as before. btw, I'm running the version javaws that comes default with jboss 4.2.1GA. I don't suppose this annotation change fixed your issue because you were on the new version of jbossws? I suppose the next step is to see if it's a parsing error

[jboss-user] [JBoss jBPM] - jbpm-jpdl-3.2.GA - jbpm-console - ERROR - workflow.jbpm_id_u

2007-11-28 Thread jeckles933
im trying to get the jbpm-console to work, search for tasks -> select view for an item, get this error (see below) jbpm_id_user does not exist, and i cant find it in the create db scripts. looks like this table was in 3.1. Im new to jpbm, so i could be completely missing something. and help w

[jboss-user] [JBoss Seam] - Roles using LDAPLoginModule

2007-11-28 Thread dennisrjohn
I have a jaas domain configured using the LDAPLoginModule for my seam app. I need to use the roles in LDAP for authorization in my seam app. The seam app uses the LDAP to log in, and in the trace log I can see the following: 2007-11-28 15:50:03,654 TRACE [org.jboss.security.auth.spi.LdapLoginMod

[jboss-user] [JBoss jBPM] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2007-11-28 Thread jimrigsbee
I would need to know more details of your use case to answer best. But I'll give you some general ideas and let you go from there. If the state of the document is part of your workflow, store it in a process variable as part of the context of the current state of your workflow. In this way yo

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: second level cache

2007-11-28 Thread kannattaa
first of all, you have to read this 2 articles about performance in hibernate: http://www.hibernate.org/hib_docs/reference/en/html/performance.html Especially, chapter 19.2. The Second Level Cache. And http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/reference/en/html_single/index.html#d

[jboss-user] [JBoss Seam] - Outjected components no longer available after session expir

2007-11-28 Thread carlsz
Hello all: Currently, I am outjecting my User entity to the conversation scope and starting a new conversation on login. I am seeing an odd behavior with this once the session expires. The user is properly redirected to the login page, authenticates successfully and returns to the last page p

[jboss-user] [JBoss Seam] - Re: Example of using Seam (without EJB) with ExtJS

2007-11-28 Thread IGx89
Nice! Can't understand the Chinese and there are some styling issues, but everything seemed to work great :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108703#4108703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [JNDI/Naming/Network] - Re: Need to configure JNDI

2007-11-28 Thread new_to_jboss_4
here's what i have a sample application to test the jboss jndi.. import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.naming.InitialContext; import javax.naming.Context; import java.util.Hashtable; import javax.sql

[jboss-user] [JBoss jBPM] - Re: GPD 3.1.1

2007-11-28 Thread kukeltje
how did you start ant? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108702#4108702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108702 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss jBPM] - Re: customJoinHandler..??

2007-11-28 Thread kukeltje
a custom join handler is put on a join the same way a custom forkhandler is put on a fork. See the wiki for that (http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmCustomForkhandler). For an example of an implementation of a join, see the normal join in the jbpm source. The rest is up to you, I mea

[jboss-user] [EJB/JBoss] - Problems accessing remote EJB

2007-11-28 Thread cypher073
So, I have 2 separate JBoss installations running on separate machines. One hosts an EJB application that exposes a remote interface for clients to access. The second is running an EJB client application that accesses the remote interface of the first. The client application contains a jar co

[jboss-user] [JBoss Messaging] - Re: URGENT ->JBoss limitation in accepting messages.

2007-11-28 Thread [EMAIL PROTECTED]
Did you do anything to replace MQ by JBossMessaging, as described here: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP1/html/index.html I'm almost postive you didn't do it. And BTW if you are starting a new system, you should start using the

[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-28 Thread [EMAIL PROTECTED]
I think I know what the problem is - SecurityInterceptor (which performs the security checks for Seam components) is a client interceptor, which means it is not part of the ejb interceptor stack. I'm not sure what to suggest as a workaround at this stage, though the first thing you can try is t

[jboss-user] [Remoting] - Re: Stupid Bisocket question, how do I do invocations on the

2007-11-28 Thread TheNelson
Is there a clean bisocket example anywhere? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108694#4108694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108694 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: Calling a seam component from URL

2007-11-28 Thread [EMAIL PROTECTED]
Another alternative is to use Seam Remoting, it uses an xmlrpc-like protocol and is very simple to use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108692#4108692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=410869

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

2007-11-28 Thread jazir1979
"mirlabraga" wrote : Hello People | | How do I do for create a report with Jasper Report and show on Seam? | | Is It possible? | | I cant'n use the lib of the Seam (jboss-seam-pdf.jar), because my bussing request | | Jasper Report. | | Thanks. Hi, it certainly is possibl

[jboss-user] [JBoss Portal] - Re: How to run JSF +AJAX portlet in jboss portal server 2..4

2007-11-28 Thread vinguye2
The JBP reference guide has a section on AJAX and how to configure partial refresh. I haven't tested this myself though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108690#4108690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBoss Seam] - Re: Seam Filter + Commons fileupload problem

2007-11-28 Thread [EMAIL PROTECTED]
SeamFilter by default includes MultipartFilter, which wraps any multipart requests in a special request class, MultipartRequest. If you aren't using the file upload support built into Seam, then you can disable this filter. View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Messaging] - Re: URGENT ->JBoss limitation in accepting messages.

2007-11-28 Thread paradisonoir
Hi, I am using JBOSS AS Version: 4.0.5GA(build: CVSTag=Branch_4_0 date=200610162340) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108687#4108687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108687 ___

[jboss-user] [JBoss Seam] - Using EntityManager out of EJBs components

2007-11-28 Thread maykellff
Hi all, i need to use EntityManagerFactory y EntityManager outside of an EJB, in fact i need to use them inside of a simple Pojo. The below class is a simple pojo that load a collection from the DB and return that collection in form of StecItem[] array. Now when i run this code i get the followi

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread [EMAIL PROTECTED]
Write an event observer for "org.jboss.seam.loggedOut", this event is raised when Identity.logout() is called. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108686#4108686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBossWS] - Java Client Application using Stub with WS-Security

2007-11-28 Thread method_ben
I have some problems to call methods from my web service. I use WS-Security to secure my web service. All necessary files (jboss-wsse-server.xml,jboss-wsse-client.xml, wsse.keystore, wsse.truststore) are in my WAR file. My stubs are generated by wsconsume. I have made a java application where

[jboss-user] [JBoss Seam] - Facelets 1.2

2007-11-28 Thread srpantano
Works Facelest 1.2-DEV with Seam 2.0? If yes, how??? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108683#4108683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108683

[jboss-user] [JBoss Seam] - Re: Seam 2.0.1 Entity converter problem

2007-11-28 Thread dbinder
Erreur de conversion quand la valeur '1' est commise pour le modéle '#{fUInstance.roles}' : Exception: {2}. Sorry it's french, it seems that localization is somehow broken for this message, it's the only message I have in french when switching from fr to en. Anyway, it means something like :

[jboss-user] [JBoss AOP] - Re: Catching LazyInitialization exception within an Intercep

2007-11-28 Thread jtonic
IMO getXXX() invocation does't throw LIE on lazy collection. It return an unitialized PersistenceCollection. If you trie to invoke a collection method on it get an LIE. Ex.: Collection children = parent.getChildren(); // doesn't throw LIE col.iterator(); //throws LIE Regards, jtonic. "mloun

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem starting Naming service with jboss-4.2.2.GA

2007-11-28 Thread klein01
I also tried the binary distro first and got that same issue with fail to start Naming services (NullPointerException). I saw veraz's comments that a workaround by re-installing from source and kindda not sure what is the workaround. If you have any clue on how should I trouble-shoot this, p

[jboss-user] [JBossWS] - Re: SessionBean as WebService - again complex data structure

2007-11-28 Thread r_q_d
Hi, CarstenRudat, Did you make this work? I got the same problem. I used JBoss4.2.2.GA, jbossws-native-2.0.2.GA. JDK1.5, no lucky. I searched all posts related to "Cannot obtain java type mapping for", still find no working solution for using complex data structures. Any help would be greatly

[jboss-user] [JBoss Messaging] - Jboss integration

2007-11-28 Thread seammm
Hi - Is it possible to deploy JGroups to JBoss so JGroups can receive datagrams over UDP transport and post them to a JMS queue? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108677#4108677 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Seam] - Seam security / identity.logout

2007-11-28 Thread b.reeve
Is there a way to map identity.logout to some component method if there is something to be done while logging out. Just as we map identity.login="authenticator.authenticate", can we map identity.logout="authenticator.logout" also? Or overriding identity.logout? Thanks in Advance ! View the orig

[jboss-user] [Messaging, JMS & JBossMQ] - Automatically Reconnecting to a Remote Queue

2007-11-28 Thread david.l.small
Hi, I've got two jBoss (4.0.4.GA) servers running. The first server connects to a message queue on the second server, remotely using a Remote JMS Provider adapter. It's a pretty straightforward configuration with a message drive bean configured with annotations (destinationType, Destination, and

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...

2007-11-28 Thread leandro3.marinho
w17chm4n, the tag s:validateAll or s:validate is working in your project? I'm trying use Seam2 with Maven2 and this tag is not working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108670#4108670 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBossWS] - Re: Soap service returning complex objects(Such as hashmaps)

2007-11-28 Thread mendaye
I came across similar issue before and I think I used Document/Literal binding to resolve it. You can try by using the following SOAPBinding... @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL) View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss Seam] - Re: question on passing org.jboss.seam.jsf.ListDataModel

2007-11-28 Thread asookazian
one possibility is to set the entered values every time using Seam remoting but there must be a better way... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108666#4108666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Seam 2.0.0.GA + Maven2 (s:validateAll doesn't work)

2007-11-28 Thread leandro3.marinho
Excuse my very bad english but it isn't my native languange. I'm trying integrate Maven2 and Seam 2.0.0.GA to run in JBoss AS 4.2.2.GA It's working fine, but s:validateAll don't work. Below is my form.xhtml. | | | | | | | | | Na

[jboss-user] [JBoss Seam] - question on passing org.jboss.seam.jsf.ListDataModel

2007-11-28 Thread asookazian
I need to check values of the @DataModel annotated List after values have been set by the user via the UI/browser for radio buttons. When I call the submit method passing the ListDataModel as an argument, the debugger shows that the values for the newly entered radio buttons are null. How can

[jboss-user] [JBoss Seam] - Intergration with Maven2? And Seam Generating Test Cases?

2007-11-28 Thread vcordaro12
First off I am trying to get seam intergrated into my maven pom so that I can generate-entites directly from my pom. I saw in the documentation that it provided all the dependency information but nothing on how to tie seam into your build process. Also will Seam generate my test cases? Or do

[jboss-user] [JBoss Seam] - Re: Cache problem with Seam EntityQuery

2007-11-28 Thread trouby
well, if EntityQuery is a pojo then yes, I didn't change the scope, If I'm in a conversation, then the persistence context is in conversation scope although my class inherited from EntityQuery is in event scope? this is confusing :-) Well, back to the question, sometimes it's hard to truck if

[jboss-user] [JNDI/Naming/Network] - Configuring persistence unit and accessing EntityManager via

2007-11-28 Thread jsolderitsch
I posted a related query to the Netbeans sub-forum but I see very little activity there. And maybe I should be using the persistence sub-forum. I have a project, originally developed in Netbeans 6 and deployed to Glassfish. I would like to deploy to JBoss 4.2.2 with as much of the code and conf

[jboss-user] [JBoss Seam] - Re: Commiting after each statement (mysql)

2007-11-28 Thread supernovasoftware.com
See http://www.developer.com/db/article.php/2235521. My guess is that you are using a table type that does not support transactions. I ran into to this problem a couple of years ago with EJB 2.1. I prefer PostgresSQL. If you have a choice I recommend using it. View the original post : http:/

[jboss-user] [JBossWS] - endPoint and SOAP headers, how to work this?

2007-11-28 Thread camateusno
Hi all, Im have a problem with SOAP headers, because i dont know how see it in endpoint. Explain: first im consume de webservice, and i see this and more: a class SEI: QMWISeSoap a class that provide constructors: ObjectFactory The server requires two soap headers, these are build by ObjectFacto

[jboss-user] [JBoss Seam] - Commiting after each statement (mysql)

2007-11-28 Thread pettersonfp
Hi, I noticed that my app is commiting after each statement. Eg: | tx.begin(); | //some persistent modification | tx.rollback(); | tx.commit(); | The rollback does nothing. | | | | persistence.xml | | http://java.sun.com/xml/ns/persistence"; |

[jboss-user] [JBoss Seam] - Re: AJAX Calls give

2007-11-28 Thread birwin
Thanks for the input. PayrollExport was scoped session. I did find the problem, however. It was a coding problem. In my "refreshEmployees" method I was changing the list of Clients based on a checkbox (Not displayed in this post - My Bad!). Because I was not refreshing the client drop-down in m

[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-28 Thread samdoyle
Alright will do once I can get back our demo environment for testing. It is the only place we have atm which has load balancing and clustering setup. S.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108650#4108650 Reply to the post : http://www.jboss.com

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EAR file won't deploy properly

2007-11-28 Thread PeterJ
Sometimes it is not the class referenced in the error message that is the problem, but rather another class that the mentioned class depends on. For example, if class A references class B, and there is an error on loading class A, the problem might actually be with class B. Looks like you should

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EAR file won't deploy properly

2007-11-28 Thread lescarbonaro
Hi Peter. Thanks for your reply. Yes, SettingsEAOImpl is being packaged in the ear, and yes its jar file is included in the application.xml listing. Have also eliminated the JDK version as a source of the problem. Re-built and re-de-depolyed and got the same error. By the way, I thought I'd po

[jboss-user] [JBoss Seam] - Re: Intercepting Seam components/Support for AspectJ

2007-11-28 Thread b.reeve
Thank you for the briefing... it really helped. Is it possible to annotate just the super interface and its concrete implementations will be intercepted. (I dont want to annotate all my classes for logging interception) | | Is there any drawbacks in using this kind of interception for logg

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Using a header as a session identifier

2007-11-28 Thread kachara4raj
Hi, We are building an application that will be thru our own client browsers. Each user has a unique header associated with their browser which gets passed with each request. I was wondering if I can use this header as a session identifier. Does anyone know if there is a configuration to allow

[jboss-user] [JBoss Seam] - Re: Cache problem with Seam EntityQuery

2007-11-28 Thread [EMAIL PROTECTED]
If it is a pojo and you haven't changed it's scope, your query object is in the event context. Are you using a conversation? A Seam-managed persistence context is scoped to the conversation, so you won't see changes made in the EJB, which is probably using a different persistence context, whil

[jboss-user] [JBoss Seam] - Re: Seam and ejb3.0 transactions question?

2007-11-28 Thread [EMAIL PROTECTED]
If you are catching the exception, the container has no way to know there was an error. Maybe try EJBContext.setRollbackOnly()? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108639#4108639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [Messaging, JMS & JBossMQ] - Unit testing MDBs?

2007-11-28 Thread homerlex
How do people gennerally go about creating in container unit tests for MDBs? Googling around it seems there are some discussion from 3-4 years ago about people asking this same question but I have yet to find anything. I see mention of "wanting" to support this type of testing in Cactus but as

[jboss-user] [JBoss Portal] - Re: Portlet window

2007-11-28 Thread ar_fee
Got it. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108635#4108635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108635 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [JBoss Seam] - Re: Activation of SFSB and removal of it by Seam question

2007-11-28 Thread asookazian
package com.cox.beans.session; | | import java.util.ArrayList; | import java.util.Calendar; | import java.util.GregorianCalendar; | import java.util.List; | | import javax.annotation.PostConstruct; | import javax.annotation.PreDestroy; | import javax.ejb.PostActivate; | import

[jboss-user] [JBoss Portal] - portlet using frame

2007-11-28 Thread ar_fee
Dear All, Does anyone know how to develop a portlet which use iframe to include a jsp or html?? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108632#4108632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108

[jboss-user] [JBoss Seam] - Seam eveluate versus create method El expression

2007-11-28 Thread dreuzel
I've noticed methods and functions are handled a littel different in seam- facelets as functions are allowed parameters. can some one give me a hint on how to resolve a el-value expression as ${mymodule} / ${mymodule.int} to find out what class is going to be uses when accessi

[jboss-user] [JBoss Seam] - Re: Activation of SFSB and removal of it by Seam question

2007-11-28 Thread [EMAIL PROTECTED]
"asookazian" wrote : Is it safe to assume, then, that @In(create=true) will only instantiate a session-scoped SFSB once per session from a conversation-scoped SFSB as long as it is not destroyed somehow or nulled after the first instantiation? Yes. Post the *whole* source of the SecurityAuditA

[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

2007-11-28 Thread alesj
"jhalliday" wrote : Are you saying that's not possible currently? | Looking at the code: - http://anonsvn.jboss.org/repos/jbossas/trunk/system-jmx/src/main/org/jboss/system/metadata/ServiceMetaDataParser.java looks like you currently cannot do injection with constructor (see parseConstructor

  1   2   3   >