[jboss-user] [EJB/JBoss] - Re: org.jboss.tm.JBossRollbackException
Hello there I am facing the same problem as you are with JBoss. Did you find a solution for the problem? Thanks and Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001476#4001476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 injection under linux
Hi, ( sorry for my english i'm a french developper) i have some problem using injection with EJB3 I make a bean which use injection over another bean with @EJB annotation, the code is good and work fine under windows XP but under linux it work only ONE time, the first time JBoss start it worsk fine ,but if i re deploy my EAR ( or only jar its the same) it throws an exception: Non matching type to inject . i need to stop and restart the JBoss server to make it work again... can you hel me ? JBossGA4.0.5 JBosss IDE 2.0 beta 2 Ubuntu edgy eft with 2.6.17-10 generic kernel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001491#4001491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Help: how to consume webservice in ejb3 ?
Finally I tried to install jbossws1.2.0 and use a NB generated jaxws2.0 client and I get the same error : | 06:50:14,060 ERROR [STDERR] org.jboss.remoting.CannotConnectException: Can not connect http client invoker. | 06:50:14,060 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201) | ... | 06:50:19,561 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: protocol = http host = null | 06:50:19,561 ERROR [STDERR] at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146 | seems like kind of a proxy error... but I have no proxy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001492#4001492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBoss performance on different JVMs
You know, you cannot just say newer are faster for sure...I asked becouse I haven't done any perf tests and I would like to know that switch to 1.6 is worth. Why not to gain almost free speed up? :)) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001483#4001483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - where to put processimage.jpg
I programatically deploy a process from a stateless ejb and would like to know where (in my ear?) should I put the processimage.jpg and gpd.xml to be able to see the image of the process in the web console. Should I bundle them in a par file and deploy the process this way ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001498#4001498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: shouldn't local-tx-datasource have auto-commit = false?
How are you starting your transaction? Are you using EJB, Servlets etc? Also, what version of JBoss are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001502#4001502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ERROR [LocaleUtils] Locale name null or empty, ignoring
I have jboss-portal-2.4.0 bundled version installed and get the following error message when i click the run.bat file in the bin directory: ERROR [LocaleUtils] Locale name null or empty, ignoring Kind Regards Gurdipe Dosanjh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001504#4001504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ERROR [[/portal-forums]] StandardWrapper.Throwable
I have jboss-portal-2.4.0 bundled version installed and get the following error message when i click the run.bat file in the bin directory: ERROR [[/portal-forums]] StandardWrapper.Throwable java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Kind Regards Gurdipe Dosanjh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001505#4001505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ERROR [[/portal-forums]] Servlet /portal-forums threw load()
I have jboss-portal-2.4.0 bundled version installed and get the following error message when i click the run.bat file in the bin directory: ERROR [[/portal-forums]] Servlet /portal-forums threw load() exception java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Kind Regards Gurdipe Dosanjh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001506#4001506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2 and JbossIDE 1.6 problem
Perhaps you should add something on the downloads page as well? Why assume that people go to the wiki before downloading? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001507#4001507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2 and JbossIDE 1.6 problem
And then you have the problem with us who are using your Update Site (http://download.jboss.org/jbosside/updates/stable) from within the Eclipse IDE. Why does it suggest that you download an incompatible version? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001508#4001508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - mapping example onetoMany
Dose any one got an easy example for mapping tables/objects? This is what Im manage to do so far. | | public class Team (...) | @OneToMany(mappedBy=team) | private List teamList; | | public class User (...) | | @ManyToOne | @JoinColumn(name=team_id,referencedColumnName=id) | protected User user; | | referencedColumnName=id id column for table user. name = id column for table team. All im getting is | javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: java.util.List, for columns: [org.hibernate.mapping.Column(user)] | Its strange that Column contains the class name? Do I need to add something to persistence.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001518#4001518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - processdefinition.xml error
Hi, I'm trying to deploy the jbpm-bpel-1.1.Beta2 Hello example, but when I execute the ant deploy-definition command, the server shell report this exception: | ERROR [[processDeployServlet]] Servlet.service() for servlet processDeployServlet threw exception | org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive] | at org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:43) | at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81) | at org.jbpm.bpel.web.ProcessDeployServlet.doGet(ProcessDeployServlet.java:50) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I'm developing with Linux and jbpm-starters-kit-3.1.2 How can I solve this? Someone help me please... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001519#4001519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2 and JbossIDE 1.6 problem
I have the same problem. And I have installed JBoss IDE 2.0Beta (after one self-defeating try with 1.6). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001536#4001536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2 and JbossIDE 1.6 problem
if you guys know a way to tell an update site to only show downloads that is compatible with eclipse 3.1 but not 3.2 (or rather WTP 1.0 vs. WTP 1.5 afaik) then please contribute it ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001537#4001537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - page parameters trouble
Dears, I'm trying to use the page parameters feature in seam, but I see that defining whatever kind of action (through h:commandButton/ in example) in a page yields erratic behaviour when parameters are switched from outside the app itself (in example, from a a href=... / from another page). The problem is easily shown in framed pages. In my case, I have a left frame which is meant to navigate the content of the right frame. Loading through the left frame a right page with different parameters with respect to the shown one, the GET with the new parameters is correctly issued by the browser, but the parameters that Seam sets to the new page are the old ones. I'm experiencing this problem with both jboss-seam-1.1.0.GA and jboss-seam-CVS-20070111. I looked for a solution to this problem both in Seam's Jira and in this forum, but didn't find any. Is there any way to circumvent the problem? Also, if mine is the first report of such a problem, I can supply a testcase in Jira. Regards, Giampaolo Tomassoni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001544#4001544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assigning a group to a task...jbpm3.2Alpha1
Hi, I think I know what your problem is. You made that expression within a swimlane. That doesn't work. You must define the assignment expression in the task directly: e.g.: | task-node name='Lets do it' | task | assignment expression='group(mygroupindb)' / | /task | transition to='next' / | /task-node | Greetz, NiB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001545#4001545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: shouldn't local-tx-datasource have auto-commit = false?
Sorry, I should have provided that information before... thanks very much for the reply. I'm using hibernate 3.1.3 and jboss-4.0.5 with mysql 5.0.11 and the latest connector | I have a HAR which puts the session factory in the JNDI context | server | mbean code=org.jboss.hibernate.jmx.Hibernate name=jboss.har:service=Hibernate | dependsjboss.jca:service=DataSourceBinding,name=jdbc/MyAdBox/depends | | attribute name=DatasourceNamejava:/jdbc/MyAdBox/attribute | attribute name=SessionFactoryNamejava:/hibernate/MyAdBoxHibernateFactory2/attribute | attribute name=CacheProviderClassorg.hibernate.cache.OSCacheProvider/attribute | attribute name=Dialectorg.hibernate.dialect.MySQLDialect/attribute | attribute name=QueryCacheEnabledtrue/attribute | attribute name=ShowSqlEnabledfalse/attribute |/mbean | /server And, this is how I would handle a transaction... Session s = null; | Transaction t = null; | try { | s = getSession(); | t = s.beginTransaction() | | // transactional code here | | t.commit(); | } | catch (Throwable throwable) { | if (null != t) t.rollback(); | } | finally { | if (null != s) s.close(); | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001546#4001546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 + JBoss + Linux
Hi, (me again^^ i'm alone to work under linux ??) i have some problems with EJB3 under linux with a JBoss server 4.0.5 i make a bean which represent a shopping cart, i wat to add Media object in, media are just a simple POJO. when i deploy for the first time it works fine , but when a deploy a second time ( and more) there is a RuntimeException wrong target... i don't understand... JBoss work only under windows or what ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001551#4001551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Timers in stateful session bean?
Hello, I have a stateful session bean and I want to be notified if it is not called for a specific time. So what I need is a timeout mechanism, but I know that's not possible for statefull sessions beans. Is there any way to do something similar? I need this for a polling chat. I want to set the user to state offline if he hasn't been active for a specific period of time. This period may be shorter than the http session timeout. Has anybody an idea? Thanks very much! Strunker View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001568#4001568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Can't get JCA datasource using JNDI
You should change use-java-context to false, so JBOSS puts the JNDI resource avaiable outside of the jboss server vm, http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources Also you will have to change: | Object connection = ctx.lookup(jdbc/WCJFDB); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001569#4001569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: No ManagedConnections available within configured blocki
Hi, I'm using JBossWeb1.0.0GA and hibernate for DB activities and Spring framework for transactions. I'm getting No Managed Connections when I'm testing some update/insert operations which happens only in the linux platform but not on a windows platform. Is JBossWeb having some compatibility issues with RHEL4.0 or is it something to do with the configuration parameters? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001565#4001565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf parameters in EL methods
Is there any news on this subject? Or is there any ETA? I would really love to use the EL with parameters because without it I have to write methods x times just to deal with the missing parameter :( (I don't want to do this since I know how nice it can be with parameters ;)). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001564#4001564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JMX Timer Performance Strange Issues
worked just fine! can execute 4000 tasks in 40 secs with 2secs max delay :) with Sun's jmx timer the delay would reach 50 secs! I would never have discovered this implementation difference without ur help thx again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001560#4001560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal default MyPage samples
I have tried jboss portal 2.4 then 2.6 using an Oracle 10.2.0.3 instance. When I install Jboss portal; default example pages get created MyPage; Test and News. When I delete these extra pages from the Management Portlet it is successfull. However on restart of JBoss AS these pages get re-created !!! I notice them being deleted from the JBP_OBJECT_NODE table in the database and get re-created again on restart. What is the best way to cleanup JBOSS Portal ready for production... Preferably a clean re-install without extra examples and portlets... 10x SJX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001570#4001570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Find a process via variable associated with it - unique
I am trying to figure out the best way to do this as well. Please share any ideas you come up with. The way I have come up with for now is to define a link from my object to the variableInstance object in Hibernate. (Assuming you are saving your objects as HiberateLongVariable type objects.) | class name=MyObject table=MY_TABLE | | set name=variableInstances | key column=LONGVALUE_ / | one-to-many class=org.jbpm.context.exe.variableinstance.HibernateLongInstance / | /set | /class | | Then you can call myObject.getVariableInstances to return a Set. On each variable in that list you can then call hibernateLongInstance.getProcessInstance(); The ProcessInstance works fine... except... I am having a separate problem where when I access the ProcessInstance this way, and I then call | processInstance.getContextInstance().createVariable(anotherVariable, anotherVariable) | the variables dont get set in the DB at all. Hmm. Any thoughts? Again, I dont think this is the best way to access the variables from the object, so please share back any other thoughts. dan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001578#4001578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm-db readme followed to point 10 - then errors on ant mss
Hello all, Some Background: I am a newbie to jBPM (and a relative java novice) - so apologies if my questions seem dumb. I am in the process of trying to determine a workflow engine to be embedded within the applications that my company develops. So far I like what I see with regards to jBPM. I cannot disturb my brain trust of developers (who are java brainiacs) until I can determine that I can get this thing up and running in our environment. I have downloaded the starter kit and unzipped. Downloaded Eclipse and I have got the designer working inside eclipse Have run thru the example in the wiki and all good. Now I want to make this work over a MSSQL DB and store my defined processes wihtin that DB and use that as the basis for persistence etc. So decided to work my way thru the readme in the jbpm-db folder that comes along with the starter kit - as it seemed to say that this provides the mechanism to make jbpm run over any supported DB (including MSSQL). Problems Encountered: I followed the instructions, I even downloaded apache ant and got that up and running. I even managed to work thru the first issue with the ant mssql.test - this seems to require JDK 1.5 in order to compile correctly - though the readme says it will work with 1.4 (not so). Anyhow - got past that and now i am running the test - but I get a set or errors during the test, and when I look at the testresults folder using the summary the errors are documented there. Here is the section of the console that contains the errors (it is large so I have not included the whole thing - let me know if there is anything else needed to be able to detemine what the problem is): [junit] 15:24:24,468 [main] DEBUG JbpmContext : creating JbpmContext [junit] 15:24:24,468 [main] INFO SchemaExport : Running hbm2ddl schema export [junit] 15:24:24,468 [main] INFO SchemaExport : exporting generated schema to database [junit] 15:24:24,468 [main] INFO C3P0ConnectionProvider : C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:.;sql.enforc e_strict_size=true [junit] 15:24:24,468 [main] INFO C3P0ConnectionProvider : Connection properties: {user=sa, password=} [junit] 15:24:24,468 [main] INFO C3P0ConnectionProvider : autocommit mode: false [junit] 15:24:24,484 [main] DEBUG JbpmContext : closing JbpmContext [junit] 15:24:24,484 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message, scheduler, logging, persiste nce, authentication]' [junit] 15:24:24,484 [main] DEBUG JbpmContext : creating JbpmContext [junit] 15:24:24,484 [main] INFO SchemaExport : Running hbm2ddl schema export [junit] 15:24:24,484 [main] INFO SchemaExport : exporting generated schema to database [junit] 15:24:24,484 [main] INFO C3P0ConnectionProvider : C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:.;sql.enforc e_strict_size=true [junit] 15:24:24,484 [main] INFO C3P0ConnectionProvider : Connection properties: {user=sa, password=} [junit] 15:24:24,484 [main] INFO C3P0ConnectionProvider : autocommit mode: false [junit] 15:24:24,484 [main] DEBUG JbpmContext : closing JbpmContext [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 1.391 sec [junit] Exception in thread main java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:174) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:620) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:453) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743) [junit] Running org.jbpm.taskmgmt.log.TaskLogDbTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Tests FAILED (crashed) [junit] Running org.jbpm.context.exe.HibernateCustomizationTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Exception in thread main java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:174) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:620) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:453) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) [junit] at
[jboss-user] [JBossWS] - Re: Help: how to consume webservice in ejb3 ?
hey Michae Perhaps, you could try to @WebServiceRef annotation. Also, you could post the code too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001596#4001596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - When is the expected binary release of JBossWS 1.2? And wil
When is the expected binary release of JBossWS 1.2? And will it be compatible with all versions of JBoss 4.0.x? I am not too familiar with the version naming scheme of JBoss, I recognize that the current version of JBossWS 1.2 is CR2. Does this mean its almost ready for release? any information would be much apperciated. I ask this because our group definitely want to leverage JAX WS with EJB 3.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001597#4001597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
A couple more questions: 1) Can you still use things like .htaccess in JBoss Web to get the full functionality that Apache offers in terms of its configuration power and flexibility? Or is .htaccess not possible in JBoss Web? 2) Does JBoss Web replace jbossweb-tomcat55.sar, or does it simply connect to it? (i.e. Will jbossweb-tomcat55.sar be necessary in the deploy directory of a JBoss configuration that's using JBoss Web?) 3) The following page says JBoss Web is a standalone web server. It looks like you start it up separately, you deploy things to its own deploy directory...if it's so standalone, do you front JBoss AS with JBoss Web (sort of like how you from Tomcat wth Apache), or do you have two distinct servers running simultaneously - JBoss AS and JBoss Web? I hope it's the former option because of my next question... http://labs.jboss.com/file-access/default/members/jbossweb/freezone/install/index.html 4) If currently I deploy EARs to JBoss AS that contain JARs and WARs, how would I make it work if the WARs now need to be put in the JBoss Web deploy dir rather than the JBoss AS deploy dir, if there are two separate servers running? 5) If there are not two separate servers running and you in fact connect JBoss Web to intercept requests to JBoss AS or something like that, what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar? The performance graph on the JBoss Web homepage only compares JBoss Web to Tomcat alone...I wonder where Apache+Tomcat would lay on that graph...probably up there with JBoss Web? I say this because Apache+Tomcat is supposed to seriously outperform Tomcat alone when serving static content...so what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001598#4001598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - dataTable in two windows
If you have the same page containing a dataTable open in two windows and you delete an element from one window (assume you've made delete functionality in your code to simply remove the injected @DataModelSelection from the entity and the EntityManager), then delete the same element from the other window (without refreshing first to pick up the deletion), something happens that I didn't expect. Rather than the second delete not doing anything (because the underlying object for that row doesn't exist), it actually deletes whatever object is currently under the row index in place of where the previous row was before. Let me clarify: table contains following elements: a b c In window one you delete a, and the table looks like this: b c In window two because you haven't refreshed it still looks like a b c In window two you delete a. I would think that nothing should happen because a is already gone. However, here's what window two (and window one after refreshing) looks like: c Apparently clicking delete deleted whatever is currently in the row index position that a was in before, which is now b... Do dataTables have some functionality to get around this or is this actually how this is supposed to work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001600#4001600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Possible bug? EJB3 in a .sar
Hello, I tried deploying an .ejb3 archive in a .sar, and I get the following exception: | 00:43:00,131 ERROR [STDERR] java.lang.NullPointerException | 00:43:00,133 ERROR [STDERR] at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:164) | 00:43:00,133 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 00:43:00,133 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 00:43:00,134 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 00:43:00,134 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 00:43:00,134 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 00:43:00,134 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 00:43:00,134 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 00:43:00,135 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 00:43:00,135 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 00:43:00,135 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 00:43:00,136 ERROR [STDERR] at $Proxy26.listTimerHandles(Unknown Source) | 00:43:00,136 ERROR [STDERR] at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408) | 00:43:00,136 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 00:43:00,136 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 00:43:00,136 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 00:43:00,137 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 00:43:00,137 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 00:43:00,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 00:43:00,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 00:43:00,138 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 00:43:00,138 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 00:43:00,138 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 00:43:00,138 ERROR [STDERR] at $Proxy48.restoreTimers(Unknown Source) | 00:43:00,138 ERROR [STDERR] at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:120) | 00:43:00,142 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.start(ServiceContainer.java:149) | 00:43:00,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 00:43:00,158 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 00:43:00,159 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 00:43:00,159 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 00:43:00,159 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102) | 00:43:00,160 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 00:43:00,160 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 00:43:00,160 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | 00:43:00,160 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 00:43:00,160 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 00:43:00,161 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 00:43:00,161 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 00:43:00,162 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 00:43:00,162 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 00:43:00,162 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 00:43:00,162 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) |
[jboss-user] [JBoss Seam] - Re: dataTable in two windows
Here's something else that happens, which I think is probably more important to address than the previous, and I think it'll solve the previous. If you delete a row, then refresh the page, the next row gets deleted. The more you refresh, the more rows get deleted! Here's what the table rows are initially: a b c d Let's say you delete row b, so the table now looks like a c d You refresh the page, click OK for the rePOST error that IE presents, but the table has changed again! a d Another refresh would result in: d The refresh repeats the delete operation with the current row index, so keeps deleting whatever is next in line from where b was initially. Is this just a downside of using DataModelSelection, or is there some way to avoid the injection based on row index (preferrably the id of the underlying entity for that row)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001602#4001602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 + JBoss + Linux
I have JBoss 4.0.5, EJB3 running under several Gentoo instances. Works perfectly. You need to provide more info before anybody can help I think. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001604#4001604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistence LDAP server
I wonder if there is an EntityManager to use to get java persistence (EJB3) to work with an LDAP Directory, persisting directory objects. What is best practise for building an application to administrate data in an ldap directory server (e.g. Siemens DirX server, SunOne), using JBoss and EJB3 ? What is available to use for the data persistence layer? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001607#4001607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal default MyPage samples
As long as you don't modify the *-object.xml in the bundle, those pages will be created. You need to modify the *-object.xml, on a clean install (DB) and then boot up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001610#4001610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
Yes I configured them in the jboss-tomcat.sar/server.xml. I also split the application up into two totally separate ear files. Now nothing is working. This is a nightmare. JBoss + Seam offers great promise but literally I have spent 1/4 of my time in this project tracking down configuration problems. I know that if I knew how to do it all it would be easy but the learning curve is steep and given the dozen or so config files in play, tracking down problems is far from trivial. The other problem I'm having right now is logging. For some reason my application isn't giving any log messages at all on my live server. On my desktop system I get plenty of informational log messages. And now I'm getting even more problems with entities not being mapped and I have no idea what's causing that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001613#4001613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
Ok, I assume that the way I do this is: 1. In jboss-web-tomcat.sar/server.xml, I add host sections. I should use a symbolic name, like foo, not a full hostname, like foo.com. I put in entries for these with real DNS hostnames. 2. In each of the war files jboss-web.xml, I put virtual-hostfoo/virtual-host, virtual-hostbar/virtual-host, corresponding to each of the symboilc names in server.xml. Is that the right way to do that? I may have gotten it wrong, but I'm now getting all kinds of deployment problems with entities not being mapped. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001620#4001620 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
(forgot to add) I'm almost thinking of just moving one of my apps to a different IP address and just running two totally isolated JBosses, but this seems absurd. Web servers could already do multiple virtual hosts over ten years ago so surely this is a stable capability within JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001621#4001621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Tomcat outside of JBoss
Hello, I'm trying to develop a web based system where tomcat is deployed in the DMZ with a JBoss app server running behind a firewall. Clients authenticates themselves to the web tier using a client certificate. I'm trying to find a way to use a JAAS login module inside the App server to authenticate the users logging in via the web. I was hoping I could configure the system so that tomcat could authenticate users based on the configuration inside the JBoss app server and that this user principle would be automatically availble to the servlets when they make calls back into the JBoss app server. I was looking at using ClientLoginModule within the JAASRealm in tomcat but it seems that because ClientLoginModule is thread-specific this is a problem - I've seen posts describing user credentials 'leaking' into other web sessions because the same tomcat thread is re-used. Other thoughts were to develop a tomcat valve that does this but that seems harder. Any comments on a general direction on how to proceed or where to look would be very helpful. Should I give up and just run tomcat inside jboss behind the firewall? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001624#4001624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
Ok, I now have two separate EAR files. I have fixed it so that I have foo.com and bar.com in both the jboss-web.xml files and in the jboss web server.xml file. Strangely enough the apps seem to work, EXCEPT some entities are now not mapping. and I get exceptions like: Exception during INVOKE_APPLICATION(5): java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: Admin is not mapped [from Admin where name = :name and password = :password] What is totally strange here is that servlets do seem to work. I think that that bean is not working because it is using a Seam-managed persistence context which is somehow not working within this virtual host setup. I am stumped. Any ideas of how this could be happening? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001625#4001625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
Waitaminute I think I'm seeing what the problem must be the SMPC is somehow acting globally. I should try to change the names of my various SMPC references in one or the other of the apps. I have a feeling this may be a bug within SMPC, where it is not properly isolating. And I should / could try to put both war files in the seam EAR and use the correct virtual-host setting in the jboss-web.xml files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001628#4001628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - How to clear client cookies
I have a PKI server running on JBOSS n Tomcat. If my client logs in using PKI/Smartcard to the https page when switching card or to 2nd user the https page will still read the cert from the 1st user. Is there any way for me to clear the cookies residing on my client from my JBOSS or clear all cookies/cache for that session. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001631#4001631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple WARs in one Seam application?
And... that was indeed the problem. I had two SMPCs that had the same config data. I think this must be an SMPC bug. It sure made me have a most interesting Sunday afternoon. It is now fixed. I understand that SMPC names are going to go through some change when Seam 1.1.1 (?) is out. I would suggest to the Seam crew, figure out why there is interaction between SMPC and virt. hosts because this was a nightmare and I almost feel that I figure it out through sheer lucky inspiration. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001636#4001636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto
I made a mistake, I actually meant ties and stubs as opposed to request /response classes...but you guys get the idea :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001637#4001637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto
mistake again, ties are actually the response/request classes. Client side still may need the stubs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001640#4001640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error message from Netbeans Output windows: -- ObjectName: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewsEntityFacade,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=Hypersonic,database=localDB State: NOTYETINSTALLED Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS 04:36:57,734 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 04:36:58,312 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 04:36:58,406 INFO [JkMain] Jk running ID=0 time=0/156 config=null 04:36:58,453 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 55s:125ms 04:43:27,687 ERROR [STDERR] 15/01/2007 04:43:27 web.ListNews lookupNewsEntityFacade SEVERE: exception caught javax.naming.NameNotFoundException: NewsApp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at web.ListNews.lookupNewsEntityFacade(ListNews.java:91) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 04:43:28,062 ERROR [[ListNews]] Servlet.service() for servlet ListNews threw exception java.lang.RuntimeException: javax.naming.NameNotFoundException: NewsApp not bound at web.ListNews.lookupNewsEntityFacade(ListNews.java:95) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error message from Netbeans Output windows: -- ObjectName: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewsEntityFacade,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=Hypersonic,database=localDB State: NOTYETINSTALLED Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS 04:36:57,734 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 04:36:58,312 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 04:36:58,406 INFO [JkMain] Jk running ID=0 time=0/156 config=null 04:36:58,453 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 55s:125ms 04:43:27,687 ERROR [STDERR] 15/01/2007 04:43:27 web.ListNews lookupNewsEntityFacade SEVERE: exception caught javax.naming.NameNotFoundException: NewsApp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at web.ListNews.lookupNewsEntityFacade(ListNews.java:91) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 04:43:28,062 ERROR [[ListNews]] Servlet.service() for servlet ListNews threw exception java.lang.RuntimeException: javax.naming.NameNotFoundException: NewsApp not bound at web.ListNews.lookupNewsEntityFacade(ListNews.java:95) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error message from Netbeans Output windows: -- ObjectName: jboss.j2ee:ear=NewsApp.ear,jar=NewsApp-ejb.jar,name=NewsEntityFacade,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:ear=NewsApp.ear,jar=NewsApp-ejb.jar,unitName=NewsApp-ejbPU --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=Hypersonic,database=localDB State: NOTYETINSTALLED Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS 04:36:57,734 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 04:36:58,312 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 04:36:58,406 INFO [JkMain] Jk running ID=0 time=0/156 config=null 04:36:58,453 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 55s:125ms 04:43:27,687 ERROR [STDERR] 15/01/2007 04:43:27 web.ListNews lookupNewsEntityFacade SEVERE: exception caught javax.naming.NameNotFoundException: NewsApp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at web.ListNews.lookupNewsEntityFacade(ListNews.java:91) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 04:43:28,062 ERROR [[ListNews]] Servlet.service() for servlet ListNews threw exception java.lang.RuntimeException: javax.naming.NameNotFoundException: NewsApp not bound at web.ListNews.lookupNewsEntityFacade(ListNews.java:95) at web.ListNews.processRequest(ListNews.java:48) at web.ListNews.doGet(ListNews.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
[jboss-user] [EJB 3.0] - javax.ejb.EJBException: Could not instantiate bean;
I have an entity bean. After deploying when i am running the client code the following exception is thrown. i think the exception occurs when the beanhome calls the create() method of remote bean. Please tell me if you have any sugegstions. I have been stuck up with this error for last three days. java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: Taxonomy not bound at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107) at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637) at org.jboss.ejb.Container.invoke(Container.java:975) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: Taxonomy not bound at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:206) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:95) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) ... 25 more Caused by: javax.ejb.EJBException: Taxonomy not bound at com.infosys.ihl.tfg.niffler.service.metadata.ejb.TaxonomyManagerBean.ejbCreate(TaxonomyManagerBean.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.ejb.StatelessSessionEnterpriseContext.(StatelessSessionEnterpriseContext.java:78) at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:49) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:184) ... 33 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001653#4001653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dataTable in two windows
First problem can be solved by passing the id as a request parameter instead of blindly using @DataModelSelection. Second problem means you should be using post-then-redirect instead of letting refresh do a duplicate submission. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001667#4001667 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help about JBPM and pageflow
It is actually possible to nest pageflows, but only by using nested conversations (the inner conversation can have its own (nested) pageflow). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001669#4001669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Updating the Resource Bundle collection at run-time
Its easy enough to extend ResourceBundle and change its behavior. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001670#4001670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Updating the Resource Bundle collection at run-time
I mean org.jboss.seam.core.ResourceBundle, of course. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001671#4001671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup problems
anonymous wrote : I'm not sure if we can support conversational components at startup. Nope, they are not supported. It's probably possible to support them if we want it. So feel free to add a feature request to JIRA if you want me to spend some time thinking about it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001672#4001672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user