[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 w

[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 value

[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 mechan

[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 a

[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 cr

[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 : http://www.jboss.com/index.html?module=bb&op=view

[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 contro

[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 org.jboss.ejb3.ProxyFactoryHelper.getLocalInterfac

[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 org.jboss.aop.advice.PerInstanceInterceptor.

[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 voi

[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 requ

[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 SUPPO

[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 pos

[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=bb&op=viewtopic&p=4050758#4050758 Reply to the pos

[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 : http://www.jboss.com/i

[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=bb&op=viewtopic&p=4050760#4050760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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 = Persistence.creat

[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=bb&op=viewtopic&p=4050762#4050762 Reply to the po

[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

[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] - 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) | | | | | | Of course I have the action in myManager and 'someList' is an EJBql defined in components.xml file. When modifying the selectbox options I g

[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 : http://www.jboss.com/index.

[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=bb&op=viewtopic&p=4050767#4050767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=4050769#4050769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050769 ___ jboss-user mailing

[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 origin

[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; ihttp://www.jboss.com/index.html?module=bb&op=viewtop

[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

[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 s

[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=bb&op=viewtopic&p=4050774#4050774 Re

[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 i

[jboss-user] [JBoss Seam] - with template property?

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

[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=bb&op=viewtopic&p=4050779#4050779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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 f

[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 origi

[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 distri

[jboss-user] [JBoss Seam] - Re: Trouble Using 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 : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050783#40507

[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 pos

[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 unders

[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=bb&op=viewtopic&p=4050788#4050788 Reply to the post : http://www.j

[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 sti

[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 solutio

[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=bb&op=viewtopic&p=4050791#4050791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050791 ___ jboss-u

[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), t

[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), t

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

2007-06-03 Thread kukeltje
wrong forum... try the jboss AS forum or even the apache ode forum/mailinglist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050796#4050796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050796

[jboss-user] [Installation, Configuration & Deployment] - Blocking the root url

2007-06-03 Thread sandeeproutray
Dear All, I want to block the user's access to root url i.e http://localhost:8080 . Can I do it and how? Thanks. Sandeep View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050797#4050797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

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

2007-06-03 Thread [EMAIL PROTECTED]
I have tried using @PostContruct and @Create | @Name("importer") | @Scope(ScopeType.SESSION) | @Stateful | public class Importer implements ImporertLocal, Serializable{ | | private CabinetSelectionModel cabinetSelector; | | @In(create=true) | private

[jboss-user] [Installation, Configuration & Deployment] - Re: Port already in use: 1098

2007-06-03 Thread vri_97
Hi Venni, I have same problem before, apparently my antivirus was using that port. If you have personal firewall, it can tell you which application is using a port. Basically you can also find out from cmd.exe by running netstat, but somehow when I encountered this problem, it didn't show up reg

[jboss-user] [EJB/JBoss] - Transactions and persistence contexts

2007-06-03 Thread magnus.ahlander
I have a master EJB which reads a job description from a database and depending of this job description calls a few other EJBs. A typical job would look something like: i) retrieve some data through FTP, SOAP or some other protocol (EJB1) ii) validate, transform and filter the data (EJB2) iii) p