[jboss-user] [JBoss jBPM] - Re: Workflows Deployment

2007-12-20 Thread [EMAIL PROTECTED]
I would say that the easiest way is to write a servlet and use its init method to do the deployment. Look at the implementation of the ant deploy task to see an example of how to do deployments using the api. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread EricJava
"[EMAIL PROTECTED]" wrote : BTW - I didn't quite follow why you had a problem with rendering your charts with the built-in charting. Just looking at the code, I see no reason why your charting subclass wouldn't have been rendered in the Graphics2D context that I use for our charts. I'm not f

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread EricJava
Yes indeed! In my blog post, I wrote: anonymous wrote : One interesting thing to notice is that this button is using the Linux look-and-feel, because, in this case, the server was running Linux. If this server had been running on some other operating system, the button would, by default, take

[jboss-user] [JBossWS] - Clients stopped to work after upgrade from jboss 4.0.5 to 4.

2007-12-20 Thread jarda222
Hi all, I developed some webservices on jboss 4.0.5, just using annotations like @WebService and @WebMethod. I builded the clients based on axis 1.4. Everything is working fine. But now I need to upgrade to jboss 4.2.2, because of new JSF. Unfortunately I found that old webservice clients are

[jboss-user] [JBoss Seam] - Re: EntityHome's persist, update, remove... methods does not s

2007-12-20 Thread zjsun
Subject: EntityHome's persist,update,remove... methods does not support manual flush mode? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114896#4114896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114896 ___

[jboss-user] [JBoss Seam] - EntityHome's persist, update, remove... methods does not suppo

2007-12-20 Thread zjsun
I have a form binding an EntityHome.instance, and I have config current conversation "flush-mode=manual", and I want to flush() the entityManager at the end of the conversation, the problem is when i invoke the EntityHome.persist() during the conversation(not end of conversation),the data is in

[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

2007-12-20 Thread martin ganserer
Hi Ron, where can I set NO_THROW_ON_ERROR to false or true? At the moment this flag is not set at all in my client! But my problem still exists that when I take a look at the debugger I can the see ServletThrowable only. It seems that the exception I expect (IllegalAccessException) has been tran

[jboss-user] [JBoss Seam] - Entity EJB3.0 Unit Testing - How to setup JNDI datasource?

2007-12-20 Thread sushmu
I'm using maven and not seam-gen. I have a simple entity User and a unit test. I'm referring Seam 2.0 examples in the test creation. Here's the snippets: UserTest: public class UserTest | extends SeamTest | { | EntityManager em() { | EntityManagerFactory emf = Persisten

[jboss-user] [JBoss Seam] - Re: TestNG entityMnager question

2007-12-20 Thread sushmu
Make sure EntityManager and Annotations versions are aligned. For example, 3.2.1.GA version for both annotatios and entity manager in the jboss maven repository would fix the exception you are getting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114891#41

[jboss-user] [JBoss jBPM] - Re: removeTaskInstance doesn't work!

2007-12-20 Thread dleerob
I have the same problem where my removeTaskInstance isnt actually saving the changes to the db. My task instance still exists after calling that method. anonymous wrote : Method removeTaskInstance fail becausa a constraint violation. | But if i delete processLogs it seems to work. | | RQ

[jboss-user] [EJB/JBoss] - Re: Serializable return object from stateless session bean

2007-12-20 Thread jaikiran
anonymous wrote : Just to note, when i try to invoke the metod (in both cases), I always do it from the same pc server the jboss is running but I always lookup the remote interface. Maybe your 4.0.5GA server is treating the call to the remote method as local and not serializing the parameters.

[jboss-user] [JBoss Seam] - Cooking lobsters (bijection)

2007-12-20 Thread nickarls
("Noob bijection problem sounds so uninteresting") I have studied section 3.3 in the Holy Manual in search for an missing outjection so I'll ask here: If I have a component Kitchen which outjects an Lobster entity And a component Restaurant which has an injected Kitchen (no outjections) If I h

[jboss-user] [JBoss jBPM] - Re: Re-routing Tokens

2007-12-20 Thread dleerob
I see there has already been discussion about removing task instances not working, and a test case is provided there as well to show the issue. I think it is more apt to continue the removeTaskInstance problem discussion on that thread. Here's the link: http://www.jboss.com/index.html?module=b

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-20 Thread jaikiran
There appear to be 2 errors. One in your datasource file: anonymous wrote : java.sql.SQLException: Access denied for user 'jbossuser'@'localhost' (using password: YES Looks like the username/password you have specified in your datasource file are incorrect for this DB. The other error is

[jboss-user] [JBoss Seam] - Re: Locale selector can not change the locale on Seam 2.0.0.

2007-12-20 Thread thejavafreak
Thanks Daniel. I'm to take a look again. Cheers, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114885#4114885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114885 ___ jbos

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread christian.douven
Aren't @In methods injected before any other methods are called? Otherwise you couldn' use an @In injected SMPC in the @Factory-Method. Did you try @IN(required=false, create= true)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114884#4114884 Reply to the

[jboss-user] [JBoss Seam] - Re: @End from

2007-12-20 Thread christian.douven
This forum needs an edit-function! Jaoin=Join, online=only View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114883#4114883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114883 ___

[jboss-user] [JBoss Seam] - Re: @End from

2007-12-20 Thread christian.douven
"Jaoin" means, that the new conversation will become part of the existing. there will be online ONE conversation in your example. It doesn't matter, in which bean you call @End. Otherwise try "nested". If you don't want this, you can start a new conversation without propagating it. Then you will

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-20 Thread bidhudas
I am using the JBOSS 4.2.1 GA. I could not find anything with respect to Queue creation in console. But same error which is described in the previous post is coming there too(I am using message listner, may be due to that). THis is indeed a web based application. I am using default server sett

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread [EMAIL PROTECTED]
Ok, I've adapted your code and checked in the results. Take a look and tell me what you think. Right now it would look like: The only problem I'm having is that I have to explicitly set the look and feel. On the mac, the default look and feel does not seem to render to anything useful. I

[jboss-user] [JBoss Messaging] - Re: Connecting MDB to remote topic

2007-12-20 Thread paduffy
False alarm. All the settings are correct. We had a build problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114877#4114877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114877 __

[jboss-user] [JBoss jBPM] - Workflows Deployment

2007-12-20 Thread vishal423
Hi, We have created JBPM workflows and want to deploy these workflows along with our .war file. We want to avoid using ant on the production server. What all options we have? Can we process the workflow xml files into .par files and generate the database insert statements And later on can we

[jboss-user] [JBoss Seam] - Re: Locale selector can not change the locale on Seam 2.0.0.

2007-12-20 Thread jazir1979
Hi Joshua, Sorry this isn't much help, but I can say for certain that I did not experience this when I upgraded our project to 2.0.0.GA. Also, I don't remember having to change any code to get it to work. I'm changing it with a command button that has the localeSelector.select action. good lu

[jboss-user] [JBoss Seam] - Locale selector can not change the locale on Seam 2.0.0.GA

2007-12-20 Thread thejavafreak
Dear all, I faced a problem on locale selector as defined in documentation. Everytime I hit the submit button, it doesn't change the locale as written in the documentantion. OTOH, it goes back to the default locale. If I wanted to be able to change the locale, I must set it up from my browser f

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread [EMAIL PROTECTED]
BTW - I didn't quite follow why you had a problem with rendering your charts with the built-in charting. Just looking at the code, I see no reason why your charting subclass wouldn't have been rendered in the Graphics2D context that I use for our charts. View the original post : http://www.

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread [EMAIL PROTECTED]
I had a similar problem when doing the charting. I was rather disappointed with the results of putting charts in PDFs until I discovered Graphics2D. What a difference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114870#4114870 Reply to the post : http:

[jboss-user] [JBossCache] - Re: Replication exception when node lost

2007-12-20 Thread [EMAIL PROTECTED]
This a bug that has crept in, possibly because of this: http://jira.jboss.com/jira/browse/JBCACHE-1217. Thanks for spotting this, I have raised a JIRA for it. http://jira.jboss.com/jira/browse/JBCACHE-1249 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=411486

[jboss-user] [JCA/JBoss] - java.sql.SQLException: The statement is closed.

2007-12-20 Thread paulpark
I'm getting a java.sql.SQLException: The statement is closed. error in Jboss. Do you notice any problem in the code or config file? server.log: 2007-12-20 18:00:08,025 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning connection to pool org.jboss.resource.connec

[jboss-user] [JBoss Seam] - Re: A customer JSF tag to display Graphics2D in Seam PDF out

2007-12-20 Thread EricJava
"[EMAIL PROTECTED]" wrote : http://jira.jboss.com/jira/browse/JBSEAM-2414 Thanks Norman! I made another blog post on it: http://chiralsoftware.com/blog/JFreeCharts-in-PDF-with-JSF-and-c47ae72d938fe060.html This post discusses using the tag to put JFreeChart charts into a PDF. Bottom line: you

[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-20 Thread damnh
I want to pass variable mode (or variable with type Object) from /list.xhtml page to /register.xhtml page, I used PAGE scope to pass. @Stateful | @Name("listAction") | @Scope(SESSION) | @Restrict("#{identity.loggedIn}") | public class ListAction implements | IListAction { |

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-20 Thread [EMAIL PROTECTED]
If at the end of your application workflow, there is a natural place to do session.invalidate(), then sure, I encourage you to do that. That will save you memory. Session ids are generated from a VM singleton, using a random generator seeded by a timestamp and the VM's free memory (which are un

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-20 Thread igain
Yes, I am using in my web.xml though I am not using any jboss-web.xml. I think i have used the wrong term "merged" . I should have been specific which is your 2nd statement "I can imagine 2 users ending up with the same session id, and thus one user seeing the others data (but none of their ow

[jboss-user] [JBoss Seam] - Re: @End from

2007-12-20 Thread Bernix
Hi Pete,I am sorry for that. Thanks for your comment. As I knew,the @Begin(join=true) will propagate the conversation context,does it mean the propagated conversation context will be a new context?and different from the previous one? and how can I end the propagated conversation context,and res

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread tomstrummer
"amorfis" wrote : As far as I understand this, exception is thrown because testEntity is not initialized. I don't see any relation to @Factory here. @In is supposed to do the initialization! That's what dependency injection is.. Right? As I said, if @Factory is not there, the T

[jboss-user] [JBossCache] - Re: Session is getting merge with other session in Jboss cac

2007-12-20 Thread [EMAIL PROTECTED]
Please don't cross-post; answered on your other thread. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114854#4114854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114854 ___

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session is getting merge with other session

2007-12-20 Thread [EMAIL PROTECTED]
I've found that different people mean different things when they say "clustered". Just to be certain, please confirm that the application's web.xml includes the tag. If yes, please post the content of your jboss-web.xml file, if you have one. Also, you use the word "merged". When I hear tha

[jboss-user] [JBossCache] - Session is getting merge with other session in Jboss cache

2007-12-20 Thread igain
Hi, I have been using J2EE application on jboss-4.2.0.GA in a clustered mode from past 6 months and it is working perfectly. But in last 2-3 days I got 2 unusual reports. In our application there is module called Online Application which is a 3 step process 1) 1st page captures all personal i

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Session is getting merge with other session

2007-12-20 Thread igain
Hi, I have been using J2EE application on jboss-4.2.0.GA in a clustered mode from past 6 months and it is working perfectly. But in last 2-3 days I got 2 unusual reports. In our application there is module called Online Application which is a 3 step process 1) 1st page captures all personal i

[jboss-user] [JBoss AOP] - Please help with reflection

2007-12-20 Thread bornmw
Hi! I have a very stupid problem with reflection. My exception is: | java -cp .:/projects/lib/jboss-aop_1.5.5.GA/lib-50/jboss-aop-jdk50.jar:/usr/local/pluto-1.1.4/shared/lib/portlet-api-1.0.jar:/usr/local/pluto-1.1.4/webapps/AOPPortlet/WEB-INF/lib/concurrent.jar:/usr/local/pluto-1.1.4/webapps

[jboss-user] [JBoss Seam] - Re: Seam PDF with content-disposition=attachment - is it pos

2007-12-20 Thread [EMAIL PROTECTED]
There was already an open JIRA issue (http://jira.jboss.com/jira/browse/JBSEAM-2366) for this, and by happy coincidence I wrote the code for it a couple days ago. I've just checked it in. I'll get docs in shortly, but for now just add disposition="attachment" to your tag. I may change the n

[jboss-user] [Remoting] - Re: Worker thread initialization failure

2007-12-20 Thread [EMAIL PROTECTED]
I can't tell what's going on from that exception by itself. I would suggest turning on trace logging for both JBossMessaging and Remoting to see if there's anything suspicious happening. To turn on trace logging, add | | | | | | | | | |

[jboss-user] [Remoting] - Re: SSL Handshake Exception

2007-12-20 Thread [EMAIL PROTECTED]
The current implementation of JNDI in the JBoss Application Server does not use a Remoting transport. I'm going to suggest that you post the question on the "JNDI/Naming/Network" forum at http://www.jboss.com/index.html?module=bb&op=viewforum&f=214. View the original post : http://www.jboss.c

[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

2007-12-20 Thread [EMAIL PROTECTED]
Hi Martin, That org.jboss.remoting.transport.servlet.ServletThrowable is used to wrap the actual exception thrown by the application code. On the client side HTTPClientInvoker should unwrap that ServletThrowable and throw the actual exception. Are you saying that the call to de.kem.piq.cli

[jboss-user] [JBoss Seam] - Re: Error selecting object - SEAM 1.2.1GA

2007-12-20 Thread james_hays
I can't duplicate it on a regular basis, thats the troubling part. It seems completely random. How difficult would it be to jar up the EntityConverter used in the latest seam builds and pull it in as a separate tag like we did when we used ec:convertEntity? View the original post : http://ww

[jboss-user] [JBoss Seam] - Parameters and @Factory

2007-12-20 Thread amorfis
Hi, This is something I made based on "blog" example from seam 2.0.0GA (the one I use). I have such component in my app: @Name("search") | public class SearchBean { | | private String province; | | private String category; | | @Factory("searchResults") | publi

[jboss-user] [JBoss Seam] - Re: EntityHome.persist fails with @GeneratedValue

2007-12-20 Thread asookazian
JBOSS4.2.1.GA SEAM2.0.0.GA Same problem here (but w/o EntityHome design pattern). I am seeing the following in the server.log before the exception. Occurs with or w/o using the TransactionalSeamPhaseListener in faces-config.xml. I am using SMPC with flushMode=MANUAL. This could be a program

[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2007-12-20 Thread PeterJ
When the app server starts, it prints the value of JAVA_OPTS, and one of those options should be -Djava.library.path="...". Make sure that the bin/native directory, and the php directory (the one that has all of the php-related dlls) are in that list. Another thing to try is open the php5servle

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread amorfis
As far as I understand this, exception is thrown because testEntity is not initialized. I don't see any relation to @Factory here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114827#4114827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [Remoting] - Re: JBoss Messaging client

2007-12-20 Thread [EMAIL PROTECTED]
It looks like you're using an old remoting-bisocket-service.xml configuration file with a new JBossMessaging release. See the line: | Caused by: java.lang.IllegalArgumentException: Invalid remoting configuration - do not specify clientMaxPoolSize use JBM_clientMaxPoolSize instead | See

[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta with Weblogic 10

2007-12-20 Thread [EMAIL PROTECTED]
Just an update to this issue. The weblogic 10.3.TP tech preview does not have this fixed. I am curious though where you heard that this issue was fixed - could you let me know? Of coarse to find that out you first have to get past the fact that the tech preview version does not work with any J

[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2007-12-20 Thread nitm
thanks a lot for your help peter. i tried what you wrote but it doesnt help. i still get the same error message even when php5servlet.dll is in bin\native. any other ideas of what might the problem be? thanks a lot! nitzan. View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [Remoting] - JBREM-877: New Socket Connection is being Created for Every

2007-12-20 Thread [EMAIL PROTECTED]
Statement of problem: anonymous wrote : | whenever EJB3 client requests the Server new socket is being created. at the client side the socket connection pool is not being used. Hope there is some issue with the socket connection after getting response from the server,becoz of which the serve

[jboss-user] [JBossWS] - Re: wsdl binding address

2007-12-20 Thread paoletto
Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114819#4114819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114819 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Seam] - Re: implementing SMPC questions

2007-12-20 Thread asookazian
submit method in SFSB: @End | @TransactionAttribute(TransactionAttributeType.REQUIRED) //REQUIRED is default, but added for clarity | public void submit() { | | Object[] myAuditListSelection = getMyAuditListSelection(); | |

[jboss-user] [JBoss Seam] - Re: implementing SMPC questions

2007-12-20 Thread asookazian
I got the following exception after successfully integrating SMPC and flushMode=MANUAL to my code. Any idea why it's happening? | 13:52:47,413 INFO [SecurityAuditAction] in preDestroy | 13:52:47,429 ERROR [STDERR] Dec 20, 2007 1:52:47 PM javax.faces.event.MethodExpressionActionListener pr

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread PeterJ
Important correction! I just now downloaded the source from the beta3 tag in svn, built it, and tried my app there. It works correctly, even on Windows: 13:41:00,427 INFO [STDOUT] ProjectRootClass: Probe URL is jar:file:/F:/opt/jbos s/JBoss_5_0_0_Beta3/build/output/jboss-5.0.0.Beta3/server/serv

[jboss-user] [JBoss Seam] - Re: Mysql Database Connection Problem Seam

2007-12-20 Thread jazir1979
This could mean you haven't GRANTed the MySQL user connect privileges, eg: GRANT ALL PRIVILEGES ON abc.* TO 'abc'@'localhost' IDENTIFIED BY 'xyz'; Also try substituting localhost with * if you want to connect from other machines. "vikramchhetryy" wrote : Hi All, | I am trying to create a new

[jboss-user] [JBoss Messaging] - Re: Connecting MDB to remote topic

2007-12-20 Thread paduffy
We're using JBoss Messaging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114807#4114807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114807 ___ jboss-user mailing list jb

[jboss-user] [EJB/JBoss] - Serializable return object from stateless session bean

2007-12-20 Thread asafkarpel
Hi, I have a remote stateless session bean methos that returns an object that doesn't implement the serializable interface (this object is a class with 4 String attributes). So from what i understand the method should not work and throw a java.io.NotSerializableException when invoked. This is

[jboss-user] [JNDI/Naming/Network] - Problem Using Session Bean In A Simple Seam Web Project

2007-12-20 Thread elvisisking
I'm using Red Hat Develop Studio 1.0.0 CR1 and am new to web development so I'm sure there is a simple solution. These steps recreate the problem: 1. File -> New -> New Seam Web Project (using all defaults) 2. New -> Seam Action. This creates a session bean/seam action and an xhtml page containi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Servlet mapping issue -- Websphere 5.1 to JBoss 4.2.2GA

2007-12-20 Thread ItBHarsH
I have a servlet mapping of /* that allows my jsps to be served in Websphere, but in JBoss with the same mapping it is always force a forward to the servlet. | WEB.XML... | | AAServiceHandlerServlet | AAServiceHandlerServlet | aa.service.servlet.AAServiceHandlerServle

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread tomstrummer
"[EMAIL PROTECTED]" wrote : The signature of | | public List initSomething() { | | and | | @Factory("houses") public void findHomes() { | | is different. | | Post the code for deploymentManager then... If I understand the documentation of @Factory, the method can take on e

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
On pg. 814 of JPA/Hibernate book, it talks about TransactionalSeamPhaseListener. I am currently not using this in my faces-config.xml. Is it required to use this with SMPC and flushMode=MANUAL? | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSche

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread [EMAIL PROTECTED]
The signature of public List initSomething() { and @Factory("houses") public void findHomes() { is different. Post the code for deploymentManager then... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114790#4114790 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss AOP] - Re: JJBoss-5.0.0.Beta2 AOP problems

2007-12-20 Thread vbatista
Hi! Now I am having a deadlock at jboss startup (the stack trace is at the end of this message). It happens +/- 80% the times I start JBoss :( Do you have any idea what can it be the reason? I have an ear deployed with 1 aop file, 1 ejb3 module, 2 sar's and 1 war. Thanks in advance.

[jboss-user] [Javassist user questions] - Re: Altering Generics Information of Methods using Javassist

2007-12-20 Thread SimonRinguette
I have done further reading on how this is implemented by the compiler and finally found out the answer I was looking for. You can defenitely do that with javaassist. The key class is javassist.bytecode.SignatureAttribute. >From a CtMethod, i've obtained the methodInfo I add a Signature attribu

[jboss-user] [JBoss Seam] - Re: Transactional Method Flush

2007-12-20 Thread DiegoCoronel
ok, i did the change. my managed Bean | public String merge() { | try { | almoxarifadoFacade.mergeFornecedor(fornecedor); | fornecedor = new Fornecedor(); | new ArrayList(); | facesMessag

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread tomstrummer
"[EMAIL PROTECTED]" wrote : You don't want the @DataModel and the @Factory outjecting to the same context variable either. Post the exception and stack trace you are getting. The idea was that the factory should be populating that DataModel. I'm following the example given in "Beginning JBoss

[jboss-user] [EJB 3.0] - Re: Recommended testing framework

2007-12-20 Thread adam.conroy
If anyone is curious as to how I ended up, I wrote custom Ant tasks to start and stop JBoss from the jars in the bin directory, on Unix OS's also using ps and kill to make sure that its really dead if the stop script doesn't succeed. I learned how to do this by looking at JBoss' own testsuite sc

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - ajp threads hung in java.net.SocketInputStream.socketRead

2007-12-20 Thread clb100
I have a web application installed in jboss AS 4.2.2. It seems to work fine under a light load but when I begin to add users all of my ajp threads stop responding until the load lightens. I have taken multiple thread dumps and nearly all of my ajp threads have the following stack trace:

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
I noticed that when I reverted to the @PersistenceContext (EXTENDED) config without SMPC but with flushMode=MANUAL on @Begin, the problem was reproduced. So the key is SMPC + flushMode=MANUAL. Please correct me if that statement is wrong. View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: problem with Integration test in Seam 2.0.0 GA

2007-12-20 Thread [EMAIL PROTECTED]
SeamTest tells Embedded JBoss to deploy resources which have seam.properties or WEB-INF/components.xml or META-INF/components.xml in only - hence without the file, the directory isn't scanned. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114779#4114779 Rep

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread [EMAIL PROTECTED]
You don't want the @DataModel and the @Factory outjecting to the same context variable either. Post the exception and stack trace you are getting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114778#4114778 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
Hey it works now! Not sure if JBoss wasn't picking up the deployment or what (I had to remove an @Out annotation as well that wasn't being used). The premature update is gone with flushMode=MANUAL and SMPC. thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Seam] - Re: formatting items in

2007-12-20 Thread valeriopp
That's what I needed. Thanks, Valerio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114775#4114775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114775 ___ jboss-user mailin

[jboss-user] [JBoss Tools (users)] - Re: Importing existing Seam projects to JBoss Tools

2007-12-20 Thread [EMAIL PROTECTED]
What kind of existing project are you referring to ? A seam-gen style project ? Then there is not much to it besides enabling Seam on it under Project properties. Unfortuanetly since seam-gen projects is not really geared towards eclipse dev so somethings won't work as easy as with seam wizard

[jboss-user] [JBoss Messaging] - Re: Is there a way to stop message from being resent?

2007-12-20 Thread timfox
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.destination.queue.attributes.redeliverydelay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114771#4114771 Reply to the post : http

[jboss-user] [JBoss Portal] - Changing the isolation level for Portal's TreeCache

2007-12-20 Thread [EMAIL PROTECTED]
Environment: JBoss AS 4.0.5GA Configuration: All Portal version: 2.4.1 Using jboss-portal-ha.sar in a cluster We are noticing that there are quite a bit of locking problems with the JBoss Portal TreeCache. Here is one example: read lock for /org/hibernate/cache/StandardQueryCache/sql: select u

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread tomstrummer
I should also mention this is on Seam 2.0.0CR1 and JBoss AS 4.2.1 GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114767#4114767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114767 ___

[jboss-user] [JBoss Seam] - Re: problem with Integration test in Seam 2.0.0 GA

2007-12-20 Thread seamdev
Oops.. I was under the impression that having seam.properties on classpath was sufficient. The file was on classpath and was placed in WEB-INF/classes when war was built and it works fine. Copying seam.properties over to build/classes has resolved all integration test problems... Thanks for

[jboss-user] [JBoss Seam] - Re: @Factory method kills my @In fields

2007-12-20 Thread tomstrummer
"[EMAIL PROTECTED]" wrote : Seam injects by variable name, not by type so try @In TestEntity testEntity; Hmm nope, sorry that did not help. Same error. Here is the updated code snice I realized I had a typo in my template as well: TestImpl.java | import java.util.ArrayList; | import java

[jboss-user] [JBoss Messaging] - Re: Connecting MDB to remote topic

2007-12-20 Thread ataylor
Are you running with JbossMessaging or JBossMQ, this is the JBossMessaging forum. It looks to me as if JBossMQ is not deployed properly. There should be an mbean deployed in one of the service files, i think its hsqldb-jdbc2-service.xml in the default configuration. it would look similar to

[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-12-20 Thread [EMAIL PROTECTED]
There are diiferent issues here... So you may want to try out yourself to see if that fixes *your* issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114762#4114762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41147

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
SEAM 2.0.0.GA JBOSS 4.2.1.GA So I tried using SMPC and it still updates the record prematurely (before @End submit method is executed). There is another SFSB (session-scope) but it should not have anything to do with this particular table persistence. Here is the current code: SFSB: package

[jboss-user] [JBoss Portal] - Re: Redirect after logout

2007-12-20 Thread cybershastri
Can anybody post the solution please? If the fix is there in 2.6.3 I am ready to upgrade to 2.6.3 for this one feature. Thanks, Cybershastri View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114759#4114759 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-20 Thread PeterJ
I added your queue to my destinations file, worked fine. What version of JBossAS are you using? When the app server deploys the queues, there should be a series of message on the console like this: 10:34:26,268 INFO [A] Bound to JNDI name: queue/A 10:34:26,284 INFO [B] Bound to JNDI name: que

[jboss-user] [JBoss Seam] - Mysql Database Connection Problem Seam

2007-12-20 Thread vikramchhetryy
Hi All, I am trying to create a new application in seam my problem is that i am not able to connect to the database. my connection xml looks like this:- | | | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";> | | | | AbcDatasource | jdbc:mysql://127.0.0.1/abc

[jboss-user] [Performance Tuning] - Re: Not deploy and not scan some directories at the start of

2007-12-20 Thread PeterJ
You never said which version of JBossAS you were using so I assumed the latest version, 4.2.3, and my suggestion was based on that assumption. If the FilterInstance attribute does not appear in 3.2.3 (which appears to be the case, based on the error message), then you cannot use this capability.

[jboss-user] [JBoss Tools (users)] - Importing existing Seam projects to JBoss Tools

2007-12-20 Thread chris.simons
Is there an import wizard or some additional settings I need to specify after I select to "Import Existing Project" using Eclipse + JBoss Tools 2.0GA? I've thus far imported a project that we had been using with Eclipse + Exadel Studio. After a few modifications here and there to the class libr

[jboss-user] [JBoss Seam] - Re: problem with Integration test in Seam 2.0.0 GA

2007-12-20 Thread [EMAIL PROTECTED]
Do you have a seam.properties in the root of build/classes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114746#4114746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114746

[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.

2007-12-20 Thread [EMAIL PROTECTED]
I tested CVS on a windows machine and it built fine. Can you try with a checkout of Seam from CVS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114749#4114749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114749 ___

[jboss-user] [JBoss Portal] - Re: how to configure Alfresco with Jboss portal

2007-12-20 Thread PeterJ
Did you do a search on "alfresco" on this forum? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114748#4114748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114748 ___ jboss-

[jboss-user] [JBoss Seam] - Re: formatting items in

2007-12-20 Thread [EMAIL PROTECTED]
Try |... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114747#4114747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114747 ___ jboss-user mailing list jboss-user@lis

[jboss-user] [JBoss Seam] - Re: Dynamically rendering more than one select elements in a

2007-12-20 Thread [EMAIL PROTECTED]
You can pass a parameter using JBoss EL like #{dataProviderBean.getSelectItems('foo')} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114744#4114744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114744 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hot swap/deploy with 5.0

2007-12-20 Thread PeterJ
See my reply at http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114741#4114741 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114742#4114742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114742 _

[jboss-user] [JBoss Seam] - Re: redirect based on roles

2007-12-20 Thread lsabin
Hi. If i understand correctly the preAuthorizationRoles gets "promoted" to real roles after the s:hasRole is evaluated. That's why the first time the user does not have the role. Is there any way to fix this behaviour? A silly question, how to debug seam applications? I mean debugging the sea

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread PeterJ
Wow, lots of posts. Let me see what I can answer. First, I did see where you stated that in 4.2.x that the work directory does not contain web-inf, but as I pointed out you never said that the app worked correctly there, though you did now. The presence of the web-inf directory under the work

[jboss-user] [JBoss Seam] - formatting items in

2007-12-20 Thread valeriopp
I have: | | | | and I also have the binding Bean. It seams to work but all Items are on the same line. I would like to get a table. Each row of the table should contain the checkbox and the information about the item. How can I do that since I cannot put tags inside the label="

[jboss-user] [JBoss Messaging] - Connecting MDB to remote topic

2007-12-20 Thread paduffy
Must connect EJB3 MDB in server X to remote topic on server Y. | | First confirmed that server Y is up and topic deployed (via JMXConsole to Y). | | I added a Remote provider to deploy/jms-ds.xml on server X. | | | | RemoteJMSProvider | org.jboss.jms.jndi.JNDIPro

[jboss-user] [JBoss Seam] - Re: Identity.loggedIn and Session expiring

2007-12-20 Thread b.reeve
Thanks for the replies, I finally got that ruleset working by configuring | | | | | | | Is there any drawback in implementing it this way. Thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114734#4114734 R

  1   2   3   >