[jboss-user] [Messaging, JMS JBossMQ] - create durable topic

2007-06-03 Thread teodoro21
Hi, I'm trying to create a durable topic with jboss-4.0.5.GA my configuration's files are: oracle-jdbc2-service.xml configured to my OracleDS hsqldb-jdbc-state-service.xmlconfigured to my OracleDS -- jbossmq-destinations-service.xml:

[jboss-user] [JBoss Getting Started Documentation] - A question about how to make remote visiting to jboss server

2007-06-03 Thread ausgoo
Hello everyone. I have used Jboss to make web services. Usually I always use default localhsot:8080 to visit the server. But since now we should make other computers to use web service to visit it. But I don't know how to make remote visit to jboss server. So, are there someone can help me

[jboss-user] [JBoss jBPM] - Problems , when inserting data from the database.

2007-06-03 Thread mr.sathya
Hi Friends and Kukultjee sir, I am new to jbpm.Hope u will help me in solving this Problem.. I am using Jbpm-3.1.4 and Jboss 4.0.2 as apllication server and database MsSQL I developed processdefinition.xml file and deployed in jbpm-3.1.4 .it is running successfully with hardcoding

[jboss-user] [JBoss Seam] - Re: Seam and Adobe Flex

2007-06-03 Thread smartbinary
Hello - With respect to: - http://livedocs.adobe.com/flex/201/langref/mx/rpc/http/HTTPService.html - http://www.theserverside.com/discussions/thread.tss?thread_id=44894#233500 I was just curious if anyone had begun work on a more standard bridge between the two - perhaps via the 'factory

[jboss-user] [JBoss Seam] - Re: sessionId cookie: man-in-the-middle attack

2007-06-03 Thread avbentem
fguerzoni wrote : forcing a pre-login session invalidation and a new session creation (request.getSession(true)) as soon as client authenticates. Old session data should then be copied to new session. | In this case a new sessionId cookie will be sent to client: client will use this ticket

[jboss-user] [Clustering/JBoss] - Clustering design question

2007-06-03 Thread khkachn
Hi, I am using Jboss 4.0.5EJB and would like to move to a clustered setup, but I am not sure how best to implement this. In my application requests come in via JMS, web services or http. The requests are processed a bit and then sent to external applications by JMS and the reply comes back

[jboss-user] [EJB 3.0] - tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
Hi I've got an EJB: | @Stateless | @TransactionAttribute(TransactionAttributeType.SUPPORTS) | public class AirportDaoBean implements AirportDaoLocal, AirportDaoRemote { | | @PersistenceContext | private EntityManager manager; | | @Override | public void

[jboss-user] [JBossCache] - JBoss Cache: Month of Bugs

2007-06-03 Thread [EMAIL PROTECTED]
This weekend we've launched the Month of Bugs for JBoss Cache's Habanero series. Please visit the Month of Bugs page for more details of how you can participate, as well as the prizes, etc. you can win. Cheers, Manik View the original post :

[jboss-user] [JBoss Seam] - Seam managed entity manager and sessions beans

2007-06-03 Thread [EMAIL PROTECTED]
When I try and inject a seam managed entity manager into a Stateful session bean, nothing gets injected and I get a null pointer, Injection of of the entity manager into POJO's works fine. The reason I need a seam managed em and not a EJB em is that I am using hibernate filters for access

[jboss-user] [EJB 3.0] - Runtime Exception during deployment with Embedded EJB3

2007-06-03 Thread pKraemer
Hello, during deployment of my stateless Session Bean I get a RuntimeException: | java.lang.RuntimeException: bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface | at

[jboss-user] [JBoss Messaging] - MBean Servic cannot open jms session

2007-06-03 Thread chip_schoch
I upgraded to JBossAS 4.2.0.GA and JBM1.3.0.GA and when I deploy my message handling MBean I get the following when it tries to create a jms session. I am not quite sure what this is even saying to me. Any insight as to what I need to do to fix this would be sincerely appreciated. 2007-06-03

[jboss-user] [JBoss Messaging] - Re: MBean Servic cannot open jms session

2007-06-03 Thread chip_schoch
I also have a web app from which I attempted to connect to JMS and I observe the same behavior. | java.lang.NullPointerException | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:86) | at

[jboss-user] [Clustering/JBoss] - mod_jk 1.2 not distrubuting HTTP requests evenly

2007-06-03 Thread mjgreene550
I've successfully configured jboss 4.0.5 for clustering and I have to say it was pretty easy with all the documentation provided by JBoss. Fail over and farming work as advertised. I'm currently trying to configure HTTP Session Replication. My only concern is the mod_jk connector doesn't seem

[jboss-user] [EJB/JBoss] - tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
Hi I've got an EJB: | | @Stateless | @TransactionAttribute(TransactionAttributeType.SUPPORTS) | public class AirportDaoBean implements AirportDaoLocal, AirportDaoRemote { | | @PersistenceContext | private EntityManager manager; | | @Override | public

[jboss-user] [Clustering/JBoss] - Re: mod_jk 1.2 not distrubuting HTTP requests evenly

2007-06-03 Thread mjgreene550
Ok sorry for the post. It seems like the requests don't get spread evenly over the nodes if the same URL is hit. In other words, if I try hitting the same page on my application the request goes to the same node. But if I actually click on different links bringing me to different pages, the

[jboss-user] [JBoss Seam] - Re: sessionId cookie: man-in-the-middle attack

2007-06-03 Thread [EMAIL PROTECTED]
anonymous wrote : Old session data should then be copied to new session. OK, I guess I can see how this is useful in some cases of upgrading from HTTP to HTTPS, but actually I was thinking more of the opposite case of HTTPS back down to HTTP. At this point the session data should be destroyed,

[jboss-user] [EJB/JBoss] - Re: tx attributte - supports doesn't work as expected

2007-06-03 Thread jaikiran
anonymous wrote : EntityManager must be access within a transaction Which means that when you are accessing the entity manager in your createAirport method, there should be an active transaction. As you already correctly mentioned: anonymous wrote : | As you can see I configured it with

[jboss-user] [JBoss Seam] - hot redeploy with *.page.xml ?

2007-06-03 Thread hstang
According to | http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/gettingstarted.html#d0e2438 | any pages.xml can be hot deployed without server restart, but Seam also support fine-grained definitions via *.page.xml, but these can be hot deployed it seems--I tried it. Is there any

[jboss-user] [JBoss Seam] - Re: sessionId cookie: man-in-the-middle attack

2007-06-03 Thread avbentem
browsers don't actually maintain two session ids, one for HTTP and one for HTTPS Ohhh, good thinking...! You might know that a cookie can be set to be secure, and should then not be used for plain HTTP. I guess all browsers support that and won't send secure cookies over non-SSL connections.

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread [EMAIL PROTECTED]
When the hotDeployFilter is installed, the Pages component is refreshed on every request. So the fine-grained files are *definitely* hot-deployable (you are mistaken about that). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050758#4050758 Reply to the post

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread hstang
Ah okay. I was under the impression that if [core:init debug=true] is set, then you'll get hot deploy services OOTB with Seam, but I guess it's an expensive operation to scan through all *.page.xml in every request. Thanks for the clarification. View the original post :

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread [EMAIL PROTECTED]
The hot deploy filter is installed whenever the debug=true. So your expectation is correct. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050760#4050760 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050760

[jboss-user] [JBoss Seam] - Re: TestNG , EntityHome , No application context active

2007-06-03 Thread laurence_kirk
this is the test code The persist does succeed, and I get a row in the db, so I'm assuming its something about TestNG that I havent get set up correctly. | @Test | public final void testCreate() | { | | EntityManagerFactory emf =

[jboss-user] [EJB/JBoss] - Re: tx attributte - supports doesn't work as expected

2007-06-03 Thread adamzrk
I know what all transaction attributes mean and I do not want the REQUIRED attribute. According to specification jboss have implemented tx support not very well. Regards Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050762#4050762 Reply to the

[jboss-user] [JBoss Seam] - JSF Component binding with conversation scope seam component

2007-06-03 Thread ryildirim
I use JBoss 4.0.5, Seam 1.2.1 and a seam-gen generated application. My application uses ajax4jsf heavily and I suspect this problem might be related with the conversation propagation with the ajax4jsf requests. When I try to use component binding rich:dataTable value=#{girisHome.girisHarekets}

[jboss-user] [JBoss jBPM] - apache ode in JBoss-4.2.0.GA ?

2007-06-03 Thread zauberlehrling
Hi, does anybody know how to install apache ode in JBoss-4.2.0.GA? When I copy ode.war into the deployment directory $JBOSS_HOME/server/default/deploy I see the following exceptions: 22:48:31,933 INFO [STDOUT] ERROR - GeronimoLog.error(108) | Error instantiating DAO Connection Factory class

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread hstang
Sorry, I still could not get it work. In my components.xml, I did in fact have debug=true so this means hotDeployFilter is installed--the startup logs actually confirm this. Do I need to do anything more to get those fine-grained page.xml to hot deploy properly? Or that's pretty much it?

[jboss-user] [JBoss Seam] - s:convertEntity with ajax support

2007-06-03 Thread trouby
Hey, I get a NPE when trying to combine selectItems+convertEntity+a4j support, I have the following code (with facelets) | h:selectOneMenu id=someId value=#{myEjb.sb1} required=false | s:selectItems value=#{someList.resultList} var=ia label=#{ia.name} noSelectionLabel=Any/ |

[jboss-user] [Clustering/JBoss] - Re: mod_jk 1.2 not distrubuting HTTP requests evenly

2007-06-03 Thread mjgreene550
After further testing, I found that mod_jk distributes the requests evenly over the 2 nodes ONLY if I am using FF2 but not with IE7. When using IE7 a majority of the requests are directed to one node. Anyone else had similar issues? Thanks! View the original post :

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread [EMAIL PROTECTED]
That is all that is required. Put the seam src in your sourcepath and use your debugger. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050767#4050767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050767

[jboss-user] [JBoss Seam] - Re: Seam managed entity manager and sessions beans

2007-06-03 Thread torsty
Can you post the code of your sfsb? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050769#4050769 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050769 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: hot redeploy with *.page.xml ?

2007-06-03 Thread hstang
Solved. I used seam-gen to see what's going on, and the answer came quickly. I had to put those fine grained files in the same folder as those views that they defined but I had them in WEB-INF/classes! Don't know why I did that, but it didn't have any side-effects until now. View the

[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem, outjects the first element i

2007-06-03 Thread rkosiarz82
I think you should put @Factory(searchResults) public String performSearch(){ int nbrHits = RandomUtils.nextInt()%10; List tmpList = new ArrayList(nbrHits); for(int i=0; inbrHits; i++ ){

[jboss-user] [JBoss Seam] - Re: s:link/s:button in RichFaces or Trinidad

2007-06-03 Thread rkosiarz82
I have similar problem I canot invoke any action=#{Bean.action} when I'am trining to use RichFaces i trided to use t:commandLink, a4j:commandLink, s:commandLink, s:link any of them cannot invoke actions from bean :-/. The code is loking like that rich:dataTable

[jboss-user] [JBoss Seam] - Latest CVS EntityQuery troubles/doubts

2007-06-03 Thread fernando_jmt
Hi. I've updated to latest SEAM CVS (20070602), the improvements are good. Nevertheless I have some questions/doubts: A) The method isNextExists() always returns false. I made some debug and I found that isNextExits() method is called before than getResultList() (I'm sure it is related with

[jboss-user] [JBoss Seam] - Re: jboss-seam-CVS.20061204 seam-gen project

2007-06-03 Thread awhitford
seam generate-entities is failing for me with the latest CVS tree because ehcache is missing from the lib directory. It reports a java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050774#4050774

[jboss-user] [JBoss Seam] - Re: jboss-seam-CVS.20061204 seam-gen project

2007-06-03 Thread awhitford
After supplying the ehcache jar, generate-entities fails with a new error: anonymous wrote : | BUILD FAILED | java.lang.IllegalAccessError: tried to access field org.hibernate.cfg.Collection | SecondPass.collection from class org.hibernate.cfg.JDBCBinder$JDBCCollectionSecondPass View the

[jboss-user] [JBossCache] - Habanero CR2 on Jboss 4.2.0

2007-06-03 Thread fatbatman
Can Habanero CR2 run on Jboss 4.2.0? I tried doing a quick and dirty copy of all the jars from Habanero lib into my JBoss4.2/server/all/lib but I got a NoSuchMethodError error when something was trying to call; org.jboss.aop.ClassContainer.setChainOverridingForInheritedMethods(boolean) Is

[jboss-user] [JBoss Seam] - s:decorate / with template property?

2007-06-03 Thread fhh
Hi! I am trying to use the template property of s:decorate / (instead of facets) in Seam 1.2.1 .GA but it doesn't work for me. The ui:insert / in the decorateField.xhtml does not only insert the input child of s:decorate / but the whole page (which is in a ui:define / because it uses a page

[jboss-user] [JBoss Seam] - findAuctions can't work as a webservice in seambay, why?

2007-06-03 Thread yexing
I try to invoke findAuctions in the test page but failed:( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050779#4050779 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050779 ___

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-06-03 Thread vri_97
Hi Ruchika, Thank you for your reply. Sorry, I don't understand where should I put the following suggested statement to ? @EJB(name=java:comp/env/ejb/MyBeanLocal) Should I put it in interface, the bean itself or at the client side ? As I'm new to J2EE, and the condition that there is still a

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-06-03 Thread vri_97
Hi Ruchika, Sorry, forget about my previous post, I just checked in other forum. I'm still struggling with my JBoss 4.2, it's still not working, even if I call the bean using : MyLocalIfc bean = (new InitialContext()).lookup(myEAR/MyremoteBean/remote); Thank you. Regards, Ferry View the

[jboss-user] [Clustering/JBoss] - Re: mod_jk 1.2 not distrubuting HTTP requests evenly

2007-06-03 Thread mjgreene550
UPDATE- After many many hours of examining mod_jk's log output, it seems as if my declarations of various DWR (Direct Web Remoting) (for example: /dwr/interface/ValidationService.js) files was causing multiple requests to be generated. This in turn was throwing off the perceived even

[jboss-user] [JBoss Seam] - Re: Trouble Using s:convertEntity/ on Glassfish

2007-06-03 Thread thejavafreak
Are you using Toplink or Hibernate? I think the problem comes from your persistence layer. Go and check your persistence.xml settings or paste it here so others can help you finding out the solution View the original post :

[jboss-user] [JBoss Seam] - Is @Entity required for Seam w/ Hibernate in Java EE

2007-06-03 Thread mcalello
I was using the hibernate example to learn how to use Seam without EJB3, and was surprised to see that all of the Hibernate3 pojos use the @Entity (javax.persistence.Entity) annotation. Is this a mistake in the example, or I am misunderstanding something? Cheers, -Marc View the original

[jboss-user] [JBoss Seam] - Re: Is @Entity required for Seam w/ Hibernate in Java EE

2007-06-03 Thread jazir1979
AFAIK, Hibernate Annotations uses the standard EJB3 annotations, as well as providing extras that are in the org.hibernate.* package. From the website: The Hibernate Annotations package includes: * Standardized Java Persistence and EJB 3.0 (JSR 220) object/relational mapping annotations

[jboss-user] [JBoss Seam] - @Out with stateless beans should be outlawed?

2007-06-03 Thread flashguru
Hello everybody, I did a very quick search to see if somebody asked this question recently, please let me know if this question was already answered. Looking at the Component.disinjectAttributes() method, it only disinjects the @In attributes, but the @Out attributes are not nulled. I can

[jboss-user] [JBoss Seam] - Re: @Out with stateless beans should be outlawed?

2007-06-03 Thread flashguru
Actually, it would be great if the @Out attributes are nulled after method invocations for stateless session beans. Should I open a JIRA issue for this feature? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050788#4050788 Reply to the post :

[jboss-user] [JBoss jBPM] - jpdl eclipse designer hangs

2007-06-03 Thread ckming
i'm currently using jBPM designer from jBpm-jpdl-3.2.GA suite together with eclipse wtp 1.5.3. My problem is that the eclipse will hangs when i save the changes i've made to the processdefinition using the designer. I've even try using jboss IDE 2.0 beta2 with the designer plugins and it's

[jboss-user] [JBoss Portal] - Redirect user to a specific URL when session timeout

2007-06-03 Thread aksarin
Hi. I am using JAAS with JBoss and I am unable to figure out a proper way to redirect the user to a specific page when the session expires. JAAS redirects to the page which user was earlier attempting to access but this is not what I desire in my application. I tried looking at possible

[jboss-user] [EJB/JBoss] - Re: message driven bean error

2007-06-03 Thread subratjyetki
your 3rd option is correct but how to do it in View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050791#4050791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050791 ___ jboss-user

[jboss-user] [Advanced Documentation] - JBoss/EJB over HTTP with callbacks?

2007-06-03 Thread skywa1k3r
Hi, I've followed the steps outlined in this wiki page to get JBoss/EJB running over http (since our client and servers are separated by firewalls). We are implementing a system that uses instrumentation by extending NotificationBroadcasterSupport (client registers as a listener to servers),

[jboss-user] [EJB/JBoss] - EJBoverHTTP + callbacks?

2007-06-03 Thread skywa1k3r
Hi, I've followed the steps outlined in this wiki page to get JBoss/EJB running over http (since our client and servers are separated by firewalls). We are implementing a system that uses instrumentation by extending NotificationBroadcasterSupport (client registers as a listener to servers),