[jboss-user] [Security & JAAS/JBoss] - Re: SSL and shockwave fashj animation

2007-08-22 Thread jc7442
I have this issue only with IE with firefox it works fine ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077151#4077151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077151 _

[jboss-user] [Remoting] - Is JBoss Remoting work with Spring Framework

2007-08-22 Thread katta
Dear Coligues, Can I use JBoss Remoting with Spring Framework ? Spring Framework it self it's providing remoing (RMI), but i want to use the JBoss Remoting for data syncronization between two web servers(Tomcat 5). Is it possible to use? Thanks, Katta. View the original post : http://www.jbo

[jboss-user] [Security & JAAS/JBoss] - SSL and shockwave fashj animation

2007-08-22 Thread jc7442
I have an index.htm page that include a flash animation: http://www.w3.org/TR/html4/loose.dtd";> | | | http://localhost:15080/demo/createSample.jsp"; /> | Demo application | | | Loading demo application ... | | | | | | | | It works fine

[jboss-user] [EJB 3.0] - Re: compounded primary key with ejb 3.0

2007-08-22 Thread jfheintz
I already try, the pk field is removed from the DB (after I recreate the DB) but I still have the 3 other fields. I imagine Hibernate find the three real column of th PK and decide put another name as the 3 field already exist? Why is it not using my column? This is really strange behaviour! Vi

[jboss-user] [JBoss Tools (users)] - Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen

2007-08-22 Thread [EMAIL PROTECTED]
I'm not a maven pom file literate but is this needed because of a bug in RHDS or is this not just normal WTP behavior that you need to work around ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077144#4077144 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss Seam] - Failure to create and deploy a Seam project using the new st

2007-08-22 Thread tamirw
I've spent the last couple of days trying to overcome my problem, without sucess ... I've downloaded the new RedHat studio, as I'm relatively new to Seam, and wanted "someone else" to do all the seam setup for me. I'm trying to build a simple WebApp with EJB3 support (I want my actions to be S

[jboss-user] [JBoss Seam] - Re: and SeamTest

2007-08-22 Thread wise_guybg
http://jira.jboss.com/jira/browse/JBSEAM-1771 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077142#4077142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077142 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: Seam 2.0 Beta booking test

2007-08-22 Thread wise_guybg
I saw the same exception in my application. It appeared when I added There is a JIRA report: http://jira.jboss.com/jira/browse/JBSEAM-1771 Related to this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071599 Seems that it is fixed in Seam 2.0.0.CR1 View the original post

[jboss-user] [JBoss Seam] - Re: When to use SessionBeans and when Pojos?

2007-08-22 Thread wise_guybg
Yesterday I was about to create a similar thread when I found this: http://docs.jboss.org/seam/2.0.0.B1/reference/en/html/concepts.html It doesn't explain all the details but is a good guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077140#4077140 Reply

[jboss-user] [JBoss Seam] - Re: EntityManagerFactory not found in JNDI : java:/poctestEn

2007-08-22 Thread wise_guybg
You have not configured poctestEntityManagerFactory in the persistence.xml Snippet: | | org.hibernate.ejb.HibernatePersistence | java:poctest1Datasource | | | PS code tag used here View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - General object-locking gizmo

2007-08-22 Thread nickarls
Hello, I need an application level class for general locking with an interface something like public void lock(Object o, User u); public void unlock(Object o, User u); // u for verification public boolean isLocked(Object o); public List getUserLocks(User u); public void releaseAllUserLocks(User

[jboss-user] [JBossCache] - Re: Regarding Custom Cache Loader Implementation

2007-08-22 Thread nan2k_sweety
Hi Manik, We have set the FetchPersistentState flag to true. But still the loadStateFromFileSystem() of our custom cache loader is not getting invoked. Regards Nandhini View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077135#4077135 Reply to the post : http

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss server is not cmng in redhat linux editor

2007-08-22 Thread annu_pawar
I am using Redhat developer studio.it provides ? Eclipse 3.3 ? JBoss J2EE Application Server.but after installation of this software JBOSS server is not comming.I dont know what shud i do. it showing this error-->Unable to create this server. org/jboss/ide/eclipse/archives/ui/preferences/MainPrefe

[jboss-user] [JBoss jBPM] - Re: next task/node name in processInstance

2007-08-22 Thread cheets
Hi Ronald, thanks for ur reply. I am integrating jbpm workflow with spring based webapp. So in the form controllers, I have to send data to the jsp based on which way the task ended (the command buttons for the next task based on permissions for the user). That's why i need the next task's name.

[jboss-user] [JBoss Seam] - Re: EntityManagerFactory not found in JNDI : java:/poctestEn

2007-08-22 Thread jbosspatni
I have tried renaming the file to persistence.xml but I am still getting the same error. I could not get what tags means.I havent tried that option View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077130#4077130 Reply to the post : http://www.jboss.com/index

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Strategy for Deploying multiple EARs

2007-08-22 Thread arunkrishnank
Hi, I need to deploy two enterprise applications, one for Online and other for Off-line. -There should be two separate EAR modules. -Isolated deployment mode is configured for Online EAR -Off-line uses some services from Online. -Off-line EAR should be able to deploy in Hot mode without affecti

[jboss-user] [Messaging, JMS & JBossMQ] - jms messages table not deleting causing org.jboss.mq.SpyJMS

2007-08-22 Thread renukhush
We have 2 instances of JBOSS 3.2.3 running on the same SUNmachine for an application. Both the server and client are running at all time. This problem happens randomaly and not very frequently. The oracle database is used for jms persistence store. Every 15 minutes around 10 messages are bei

[jboss-user] [Messaging, JMS & JBossMQ] - jms messages table not deleting causing org.jboss.mq.SpyJMS

2007-08-22 Thread renukhush
We have 2 instances of JBOSS 3.2.3 running on the same SUNmachine for an application. Both the server and client are running at all time. This problem happens randomaly and not very frequently. The oracle database is used for jms persistence store. Every 15 minutes around 10 messages are bei

[jboss-user] [JBoss Seam] - has any function in seam EL like jstl fn:contains?

2007-08-22 Thread chibi
i tried to run #{user.spservices contains service} in "rendered" properties of a command buttom, but failed how can i determine if the list contains a object in seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077116#4077116 Reply to the post : http://w

[jboss-user] [JBoss Seam] - Re: stopped working in Seam 2.0 within source

2007-08-22 Thread mgrouch
Guys, is there a progress made on this? Source tags is a very important feature which shouldn't be broken for 2.0... It seems the problem was localized to few lines of code already, just few more steps left to fix it... Thanks View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: Calling Identity.instance() from a servlet

2007-08-22 Thread matt.drees
Is your servlet mapped to a url that would be matched by "/media/*" ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077114#4077114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077114 _

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

2007-08-22 Thread mgrouch
Any word on new release? Will it be next beta? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077113#4077113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077113 ___ j

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

2007-08-22 Thread system.out
I am changing the impl. to use standalone aop and post the result soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077112#4077112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077112 ___

[jboss-user] [JBoss AOP] - Re: dynamic cflow double call

2007-08-22 Thread system.out
2 questions: 1 - As per section 10.4, by default the aop bindings are global to whole VM. What happens if aop is deployed after the deployments of ear? Would all aspectized ear be instrumented? If not, can it be enfoced to do so! 2 - Should section 10.4 (below) include 'deploy-hasingleton'

[jboss-user] [JBoss Seam] - Re: Calling Identity.instance() from a servlet

2007-08-22 Thread zzztimbo
I followed the instructions in the link mentioned by Pete. "[EMAIL PROTECTED]" wrote : http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/configuration.html#d0e12758 I still am receiving the same error of No active session context. I basically modified the components.xml file and copy paste

[jboss-user] [JBoss Seam] - s:convertDateTime not working with oracle

2007-08-22 Thread KimLord
s:convertDateTime is giving me a java.lang.NullPointerException error when used to convert an Oracle date field. This same converter worked fine with mySQL database. Does anyone know how to use the converter with Oracle? Thanks, Kim View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - Re: When to use SessionBeans and when Pojos?

2007-08-22 Thread alexg79
You only have to use @Remote when you plan to make the session bean available to clients outside the container JVM (for a client application). There are a number of advantages to using EJB3 session beans instead of POJOs. SFSB replication across the cluster is handled by the container, as is per

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread floba
Cool. Thanks. That works. Would be worth mentioning in the documentation wouldn't it? Thanks, Florian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077103#4077103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407710

[jboss-user] [JBoss Seam] - Re: Seam CRUD error

2007-08-22 Thread KimLord
I have the same code: with a mysql database and there is no error so this is related to the date conversion with Oracle. Does anyone have any experience with Oracle and seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077102#4077102 Reply to the post :

[jboss-user] [JBoss Seam] - Re: reading properties from seam.properties file??

2007-08-22 Thread asookazian
This worked! in Java class/method: String myAppName = FacesContext.getCurrentInstance().getExternalContext().getInitParameter("ApplicationName"); in web.xml: ApplicationName CoxTemplate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407710

[jboss-user] [Security & JAAS/JBoss] - forms authentication class cast exception

2007-08-22 Thread boggle
I have to say I'm a total JBoss n00b and this may be a stupid misconfiguration problem, but I'm trying to get forms authentication working in a basic sample app (JBoss 4.2.0, NetBeans 5.5.1). The problem occurs when I submit the login form with my username/password. I get a blank page, and the

[jboss-user] [JBoss Seam] - Re: Seam CRUD error

2007-08-22 Thread KimLord
Someone else must have encountered the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077099#4077099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077099 ___ jb

[jboss-user] [JBoss Seam] - reading properties from seam.properties file??

2007-08-22 Thread asookazian
is it possible to store key value pairs in the seam.properties file? does it always need to be blank? I need to be able to identify my application so that I can use the name or id to perform a db read to get a list of all menu names applicable for the user with whatever role/access they have.

[jboss-user] [JBoss jBPM] - dropSchema problem - does it work?

2007-08-22 Thread simonbaker
We're having a problem with JbpmConfiguration.dropSchema(). The log shows it is unable to drop tables, due to constraints mainly. The log does show it dropping a lot of constraints, but it seems some are missing. The impression is that the SQL DDO objects referenced in the code and in the SQL

[jboss-user] [Management, JMX/JBoss] - Can Not run "twiddle". Bug of 4.0.5?

2007-08-22 Thread vola
Hello everyone, I am trying to learn how to use JBoss's JMX funtionalities to monitor my application. In the "JBoss Application Server Guide", it says to call "bin\twiddle" to get access to the JMX. However, once I run "twiddle", there will be an exception: Exception in thread "main" java.lang

[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2007-08-22 Thread siderean
Thanks for the suggestion, but I guess I'll stick with Spring for this particular application... I thought Seam might accommodate the use case as I read an article recently that seemed to indicate that Seams most powerful feature is that of an integrated bean container/factory. Unfortunately I

[jboss-user] [JBoss Messaging] - Re: ERROR: Cannot find delivery to cancel (Repost)

2007-08-22 Thread [EMAIL PROTECTED]
duh! I have it replicated.. I have attached a pach on the JIRA issue with a test replicating.. I didn't need a Stateless Bean. Thanks a lot for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077093#4077093 Reply to the post : http://www.jboss.co

[jboss-user] [JBoss Messaging] - Re: ERROR: Cannot find delivery to cancel

2007-08-22 Thread [EMAIL PROTECTED]
duh! I have it replicated.. I have attached a pach on the JIRA issue with a test replicating.. I didn't need a Stateless Bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077093#4077093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread iradix
Your field is of the wrong type. When you inject a session bean Seam looks it up from JNDI and returns, not a MySessionBean object, but an actual session bean that implements the MySessionBean_L interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407709

[jboss-user] [JBoss Portal] - Re: How to Display New Portal instance page Instead of defau

2007-08-22 Thread zboydjr
Okay I rezlize now that I have to use special url http://www.mywebhost.org/portal/portal/zb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077091#4077091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077091 ___

[jboss-user] [Remoting] - Re: BisocketServerInvoker with server behind NAT

2007-08-22 Thread [EMAIL PROTECTED]
I've just uploaded a jboss-remoting.jar with an implementation for JBREM-749 "BisocketServerInvoker: Make configurable the address and port of secondary server socket". The address to which the secondary ServerSocket is bound is the same as that to which the "primary" ServerSocket is bound. Th

[jboss-user] [JBoss Portal] - Okay I realize that you have to use a special url -> http://

2007-08-22 Thread zboydjr
Okay I realize that you have to use a special url -> http://www.mywebhost.org/portal/portal/zb Now what if I want to have "neater" urls what to do? When I click on my portal pages the urls change to ... http://www.mywebhost.org/portal/auth/portal/zb/default -> default page or http://www.myw

[jboss-user] [JBoss Seam] - Seam and JPA reverse engineering in MyEclipseIDE

2007-08-22 Thread asookazian
Anybody used JPA reverse engineering with Seam in MyEclipseIDE? I just did it for a Customers table with the DAO option and it created the following tables: Customers.java (entity bean) CustomersDAO.java EntityManagerHelper.java I'm not sure what this buys you other than more complication (add'

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread floba
And you shall receive it :) This is without the factory method: 00:02:57,234 ERROR [org.jboss.seam.security.jaas.SeamLoginModule] Error invoking login method javax.ejb.EJBTransactionRolledbackException: could not set field value: authenticator.mySessionBean at org.jboss.ejb3.tx.Ejb3TxPo

[jboss-user] [JBoss Seam] - Remoting.js error on Firefox 2

2007-08-22 Thread sherman04
I've got an onunload handler at a page which issuing an ajax call to SFSB to clean up something and no callback. It runs well on IE but raises error on Firefox saying "Seam is not defined". Actually all works are done properly. The only thing might be that asyncReq.onreadystatechange = function(

[jboss-user] [JBossCache] - Tutorial Problem

2007-08-22 Thread kgwilliams
I'm trying to follow the POJOCache tutorial and have been running into problems. The first problem is that the GUI won't start up most of the time. I get the message "[java] start(): creating the GUI" but then nothing else happens. It took me five tries before I could get the second GUI to pop u

[jboss-user] [JBoss Tools (users)] - Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen

2007-08-22 Thread cbeels
hrm part of my xml didn't show in the last post. Should be | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407

[jboss-user] [JBoss Tools (users)] - Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen

2007-08-22 Thread cbeels
I ended up using the following ant task as a 'hack' to get the libs populated locally. I hope there is a better way to get JBoss to pick up the Maven

[jboss-user] [JBoss Seam] - Re: Missing exceptions within asynchronious methods

2007-08-22 Thread [EMAIL PROTECTED]
Second Post regarding the missing Seam Exception: Here I have two SessionBeans: Interface One: | package org.esit.server.sessionbeans; | | import javax.ejb.Local; | | @Local | public interface Blob { | | public boolean isAvailable(); | | public void rais

[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component

2007-08-22 Thread [EMAIL PROTECTED]
Part of the problem is that you are using Seam from the EAP (by default in RHDS) which I think no one else here uses (everyone here probably uses community releases). I would suggest upgrading Seam to 1.2.1.GA (it has a lot of good fixes in it) and try with that. Ask in the RHDS forum about ho

[jboss-user] [JBoss Seam] - Re: Success configuring generic filters in SEAM?

2007-08-22 Thread [EMAIL PROTECTED]
This is much easier in Seam2, if you can use it... @Scope(APPLICATION) | @Name("myFilter") | @BypassInterceptors | @Filter(within="org.jboss.seam.web.ajax4jsfFilter") | public class MyFilter extends AbstractFilter { | |public void doFilter(final ServletRequest request, final Serv

[jboss-user] [JBoss Seam] - Re: Exceptions and the Seam ExceptionFilter

2007-08-22 Thread iradix
By the way, I've added my own interceptor that delegates exception handling to the Exceptions component and it seems to be doing the trick so far. Any chance we could see something like that become one of the standard Seam Interceptors? That coupled with an API for registering custom Exception

[jboss-user] [JBoss Seam] - Re: Missing exceptions within asynchronious methods

2007-08-22 Thread [EMAIL PROTECTED]
Ok, full working example code, tested just now. First post regarding the missing RuntimeException (Second post follows later after coding example...): Interface: | package org.esit.server.sessionbeans; | | import javax.ejb.Local; | | @Local | public interface Blob { |

[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component

2007-08-22 Thread iradix
the jndi-pattern here: says that your EJBs will be found in JNDI under a hierarchy starting with testPro. This line in your stack trace: Caused by: javax.naming.NameNotFoundException: testPro not bound seems to say that there is nothing called testPro in JNDI. I'd say either configure your

[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2007-08-22 Thread [EMAIL PROTECTED]
I've not heard of anyone doing this . You would need a way to bootstrap seam outside the servlet container. How about Guice? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077073#4077073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBoss jBPM] - Re: mail.class.name Delegation

2007-08-22 Thread bephinney
I am having similar problems. Environment: MS Exchange relay JBPM 3.2.1 SQLServer Tomcat required property mail.smtp.auth = true I need to extend org.jbpm.mail.Mail in order to include an Authenticator when getting the Session. I have set two jbpm.cfg.xml properties: - resource.mail.propertie

[jboss-user] [JBoss Seam] - Re: org.jboss.serial.exception.SerializationException

2007-08-22 Thread [EMAIL PROTECTED]
private transient Cipher dcipher; will mean that it is ignored when doing serializing (but of course the value of dcipher will be lost when serialization occurs). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077071#4077071 Reply to the post : http://www.j

[jboss-user] [JBoss jBPM] - Re: Help to implement an Approval Business Process

2007-08-22 Thread kukeltje
You could also try to: - Create a custom decisionnode that creates enough tasks (see the wiki for an example) - Use an actionhandler on each 'deny' transition that cancels the parallel active tasks and sets a processvariable. View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss jBPM] - Re: problem while deleting processInstance

2007-08-22 Thread kukeltje
VIA the processinstance? explain in more detail what you want View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077069#4077069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077069 _

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread iradix
It looks to me like the container is having a problem retrieving your session bean. When you @In(ject) a session bean Seam will retrieve it from JNDI. What you are doing in your factory method is simply instantiating the class, which will not have the Seam or EJB interceptors applied to it. W

[jboss-user] [JBoss jBPM] - Re: Is the unique process ID available in Eclipse designer

2007-08-22 Thread kukeltje
Correct you could, but there is also a new businesskey, one that you can fill with a more sensible unique value and use in your mail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077067#4077067 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component

2007-08-22 Thread floba
hi, can't tell you why because I would love to understand it myself but the error looks familiar. This fixed it for me: Add one empty @Destroy @Remove method AND create an interface annotated as @Local with all methods of your class. (Perhaps throw an @Create in, too. But I don't thing its nec

[jboss-user] [JBoss jBPM] - Re: Transiton Condition evaluated to 'false

2007-08-22 Thread kukeltje
anonymous wrote : or put in the other way of doing it as you suggest. | My solution was incomplete and even partly incorrect. You can use 2 transitions in the task. In those transitions just set a process variable and in the decisionnode read the variable just like you did. Ronald View

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread christian.douven
Well, im new to seam, too. But in your application servers container, a session bean is usually injected via the @EJB annotation. Since it seems to live in the same container, you can use the local interface. I don't know, whether seam has some exceptions here. Maybe you better wait until som

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread christian.douven
@EJB MySessionBean mySessionBean_L; i meant. The @Factory annotated method is mostly used, when you need to initialize data. It is executed, when the refered variable doesn't have a value. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077063#4077063 Reply

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread floba
@stephen: just what I thought... seems to be the way to learn seam/jsf/ejb: do what you think should be right and watch the exceptions pop up... @christian: ? (what is @ejb? can't find it in the seam reference nor get google to come up with results (discards the @)) View the original post :

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread christian.douven
Also not sur, but shouldn't you inject mySessionBean like this: @EJB MySessionBean mySessionBean; ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077060#4077060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077060 _

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread stephen.friedrich
No idea :-( >From my understanding of seam this should work without the factory. Maybe the full exception stacktrace could help... Just a side note: @Stateless @Scope( ScopeType.EVENT ) Does not make sense. Stateless beans always live in the stateless context. View the original post :

[jboss-user] [JBoss Seam] - Re: Configuring Seam Filters through components.xml

2007-08-22 Thread matt.drees
Still not right. If you type [ code ] xmlstuff [ /code ] (w/out the spaces inside the brackets), it'll render like this: xmlstuff without getting mangled. Also, always hit "Preview" before Submit. It's saved me multiple times. View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBossCache] - Re: Problem with concurent put/remove operation.

2007-08-22 Thread jacek187
impy core on 1.4.1 - described in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116337 forum thread I have just tested core on 2.0.0. GA - and exception was ... timeout. stack: org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/a/b/c/d, caller=GlobalTransaction::4, lo

[jboss-user] [JBossCache] - Re: eviction, clustering, and expected behavior

2007-08-22 Thread shulok
Nuts, I hate when that happens. :-) Thanks for the prompt response, Brian. Thom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077055#4077055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077055

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread floba
yes I do. here is what i have: == Authenticator.java === @Stateful @Scope(ScopeType.SESSION) @Name("authenticator") public class Authenticator implements Authenticator_L @In( create = true ) MySessionBean mySessionBean; ... === MySessionBean.java === @Stateful @Scope( ScopeType.APPLICA

[jboss-user] [JBoss AOP] - Re: dynamic cflow double call

2007-08-22 Thread [EMAIL PROTECTED]
A standalone .aop file is the way forward. The URLDeploymentScanner will deploy .aop files before .ear files View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077053#4077053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [JBossCache] - Re: Cannot see nodes and attached map in JMX console

2007-08-22 Thread billwangbill
Thanks. I get the following error message by using Fqn.fromString() javax.management.IntrospectionException: Failed to find PropertyEditor for type: org.jboss.cache.Fqn org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:251) org.jboss.jmx.adaptor.control.Server.invoke

[jboss-user] [JBossWS] - Re: JBossWS Tools Overview (wstools, wsprovide, wsconsume)

2007-08-22 Thread shrikantmulik
I tried to use wsconsume from JBossWS Native 2.0.1 GA binary distribution. It gives following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume This could be due to classpath setting but is there a need to explicitly set the classpath for r

[jboss-user] [JBossCache] - Re: eviction, clustering, and expected behavior

2007-08-22 Thread [EMAIL PROTECTED]
You're wrong. :-) Eviction is managed per node. A write operation on server A will effect the eviction calculation on B (since the write replicates to B). But a read on A does not effect the calculation on B, since B knows nothing about a read on A -- there's no message sent around the cluste

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging / Spring JMS compatibility?

2007-08-22 Thread nkhadakk
Hi aaubry, I hit a similar issue (with exactly the same versions of Spring/JBoss etc). Did you ever resolve this issue ? thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077048#4077048 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss.NET] - Re: Webservice client

2007-08-22 Thread jingc3
Hi I am getting the same problem. Have you figured out what went wrong? thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077047#4077047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077047 ___

[jboss-user] [JBoss Seam] - Re: When do I need a @Factory?

2007-08-22 Thread stephen.friedrich
Do you have an annotation @Name("mySessionBean") at the class MySessionBean? @In does not define the component, you'll need the @Name annotation at the component's class or else a @Factory somewhere else. See "3.8. Factory and manager components" in the seam reference. View the original post :

[jboss-user] [JBoss Seam] - Re: When to use SessionBeans and when Pojos?

2007-08-22 Thread hexxter
one more thing: when do I have to specify a @Local and a @Remote interface? Is @Remote usefull in seam context anyways? As I understand it seam can use objects even without these interfaces. more thanks, Florian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Portal] - Re: Can JBoss Portal be installed with JBoss AS 4.0.5

2007-08-22 Thread NM-156
Thanks so much for the advice. I will give it a shot and post back my findings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077044#4077044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077044 ___

[jboss-user] [JBoss Seam] - When to use SessionBeans and when Pojos?

2007-08-22 Thread hexxter
Hi, I'm trying to get into seam and by now I thing I'm starting to understand the JSF side code. Buts whats totally unclear to me: For actions and supporting code I have to use some sort of whats called in JSF BackingBeans. No I do understand that I have to (do I?) use @Stateful SB for beans w

[jboss-user] [JBossCache] - eviction, clustering, and expected behavior

2007-08-22 Thread shulok
Can't find a definitive answer, and I'm not seeing what I would expect... If you have eviction enabled and you are clustered: if server A touches node /x before eviction times out, should server B evict the node since he hasn't touched it within the interval? This is what I'm seeing, but I woul

[jboss-user] [JBoss Seam] - Using Seam as a simple IoC bean factory in console app

2007-08-22 Thread siderean
I'm working on a standalone, J2SE Java application (at a new job) which really calls for wiring beans together outside of application code. In the past I've used Spring to do this (simply creating a bean factory from an XML file in the classpath of the application). Is there an example of usin

[jboss-user] [Advanced Documentation] - MBean which shows deadlocks

2007-08-22 Thread monkeyden
Using 4.0.5 GA Is there an MBean which shows deadlocked threads? I'm using the "Connector Scoreboard" in the web-console but I can only guess which are deadlocks by virtue of the time the thread has been in service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JNDI/Naming/Network] - Re: Why does jbossall-client.jar cause

2007-08-22 Thread rhinosystemsinc
I figured out the problem I was having, and hopefully this may help you... Make sure to put a try-catch around the entire body of code for your EJB interfaces. Basically I was having a problem with the SLSB.method, when it tried to invoke a SFSB.method2. I my body of code for "SLSB.method" I

[jboss-user] [JBoss Portal] - Re: Can JBoss Portal be installed with JBoss AS 4.0.5

2007-08-22 Thread [EMAIL PROTECTED]
Yes, it can. The portal documentation should talk about it. In summary this is what needs to be done: 1. copy portal datasources xml file to server/YOUR_CONFIG/deploy and jdbc driver jar to server/YOUR_CONFIG/lib 2. copy jboss-portal.sar to server/YOUR_CONFIG/deploy That should do it. View t

[jboss-user] [JBoss Seam] - When do I need a @Factory?

2007-08-22 Thread hexxter
Hi, when I try to inject some SessionBean with @In( create=true ) MySessonBean mySessionBean a "could not set field value" Exception is thrown. The documentation states that "If the context variable is null, an instance of the component is instantiated by Seam.". If I create a @Factory( "my

[jboss-user] [JBoss Portal] - Can JBoss Portal be installed with JBoss AS 4.0.5

2007-08-22 Thread NM-156
Hi. I cannot find any documentation describing how to install JBoss portal on an existing JBoss 4.0.5 AS. Can anybody tell me if this can be done? The only installation instruction I could find recommend downloading the JBoss Portal + JBoss AS. I would prefer to just install the portal. Thanks.

[jboss-user] [JBossCache] - Re: Could this be deadlock when modifying TreeCache

2007-08-22 Thread [EMAIL PROTECTED]
Well all you're doing by increasing FC creds is pushing the threshold higher before you see a problem. This usually works since most network hiccups or temporary slowdowns correct themselves after some time and the cluster returns to full speed . Either you still don't have enough credits, o

[jboss-user] [JBossCache] - Re: Problem with concurent put/remove operation.

2007-08-22 Thread [EMAIL PROTECTED]
Thanks - I've commented on the specfic JIRAs. What do you mean by test fails on core? (I presume this is 2.0.0 core?) Do you have a stack trace for this? The 2.0.0 stack trace above has to do with pojo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407703

[jboss-user] [JBoss jBPM] - Re: Is the unique process ID available in Eclipse designer

2007-08-22 Thread rossputin
Hi, thanks thats great, will poke around more in the user guide, regards Ross View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077028#4077028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077028 ___

[jboss-user] [JBoss Seam] - Success configuring generic filters in SEAM?

2007-08-22 Thread RMcFadden94
All, I am using SEAM 1.2.1 and have had extensive trouble adding custom filters to SEAM. What is the correct way to add filters to SEAM? Is it best to use standard servlet filters? If so, how do I configure the servlet filters to have access to SEAM Objects, or enable those objects to be i

[jboss-user] [JBossCache] - Re: Problem with concurent put/remove operation.

2007-08-22 Thread jacek187
I have tried many combinations: core, pojo and mix * imply core - test fails * imply pojo on 1.4.1 - test OK * impy pojo on 2.0.0 - test fails, so bug http://jira.jboss.com/jira/browse/JBCACHE-1166?page=all was created * mix plain and pojo - putObject/remove combination - test fails so bug http:/

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-22 Thread demetrio812
Sorry I forgot to tell the the fields are always null... thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077024#4077024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077024 ___

[jboss-user] [EJB 3.0] - Re: compounded primary key with ejb 3.0

2007-08-22 Thread waynebaylor
try removing the field: anonymous wrote : private BrowserStatPK pk; from BrowserStatEJB3. you've already got the id fields, so you shouldn't need this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077022#4077022 Reply to the post : http://www.jboss.com/in

[jboss-user] [JBoss Seam] - s:fileUpload error

2007-08-22 Thread demetrio812
Hi, I read about 50 posts, tried a lot of combination but a simple file upload is not working in my app (Seam 2B1, JBoss AS 4.2.1GA)...I made to work about 2 months ago (Seam 1.2.1GA, JBoss AS 4.0.X). I tried SEAM POJO, SLSB, SFSB with CONVERSATION or EVENT scope, tried InputStream for data fie

[jboss-user] [JBoss Seam] - Identity check during hibernate operaiotn in application com

2007-08-22 Thread rpochet
Hi, I'm trying to execute database insert during creation of an application scope component | @Scope(value=ScopeType.APPLICATION) | @Name("initialisation") | @Startup(depends="hibernateSessionFactory") | public class Initialisation | { | @Logger | private Log logger = null;

[jboss-user] [JBoss jBPM] - Re: Is the unique process ID available in Eclipse designer

2007-08-22 Thread [EMAIL PROTECTED]
Section 18.3 of the user guide lists the implicit objects available in expressions. One of them is the process instance. Try #{processInstance.getId} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077018#4077018 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Logger object nulled after passivation

2007-08-22 Thread [EMAIL PROTECTED]
Definitely not a bug in Seam. Possibly a bug in EJB3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077015#4077015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077015 ___ j

  1   2   3   4   >