[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
If you do all that persisting stuff into a (or that) EJB3 your problem should be solved. Especially dealing with transactions is not needed for most scenarios while the EJB3 (or better the EJB3-Container) is doing that for you by default. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200257#4200257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: usage of visual edittor for jsf / seam pages
so in xml terms you want to be able to zoom in on elements/tagpairs. Sounds like a interesting feature - feel free to open a feature request in jira. With respect to layouts etc. I prefer much more to use template mechanism's which naturally splits up the "panels" in independent files so I don't feel the need that much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200256#4200256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Native library deployment in JBoss 5
anonymous wrote : which exact version of JBoss-5 do you use? I am using the JBoss 5.0.0.GA compiled by JDK 5 anonymous wrote : Please post more details including the entire exception stacktrace and the console logs. The error in the log file is java.lang.UnsatisfiedLinkError java.lang.UnsatisfiedLinkError: no JT in java.library.path Although I see the following when JBoss start 09:30:53,929 INFO [ServerImpl] Server Native Dir: /usr/local/jboss-5.0.0.GA/server/default/tmp/native But not only my libJT.so is not in there, The native directory does not exist. I can't set the java.library.path to the tmp/native directory because the so file is not there. I used to see the following line In JBoss 4 09:25:45,679 INFO [SARDeployer] Loading native library: /usr/local/jboss-4.2.3.GA/server/default/tmp/native/libJT.so View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200252#4200252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Not able to start JBoss
Hello, I am trying to start it on Linux machine using the following command. ./run.sh -b 0.0.0.0 from within the bin directory. Following is the stack trace. [r...@ashish bin]# ./run.sh -b 0.0.0.0 = JBoss Bootstrap Environment JBOSS_HOME: /usr/jboss/jboss-4.2.3.GA JAVA: java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true CLASSPATH: /usr/jboss/jboss-4.2.3.GA/bin/run.jar = 00:27:54,659 INFO [Server] Starting JBoss (MX MicroKernel)... 00:27:54,660 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439) 00:27:54,662 INFO [Server] Home Dir: /usr/jboss/jboss-4.2.3.GA 00:27:54,662 INFO [Server] Home URL: file:/usr/jboss/jboss-4.2.3.GA/ 00:27:54,663 INFO [Server] Patch URL: null 00:27:54,663 INFO [Server] Server Name: default 00:27:54,663 INFO [Server] Server Home Dir: /usr/jboss/jboss-4.2.3.GA/server/default 00:27:54,664 INFO [Server] Server Home URL: file:/usr/jboss/jboss-4.2.3.GA/server/default/ 00:27:54,664 INFO [Server] Server Log Dir: /usr/jboss/jboss-4.2.3.GA/server/default/log 00:27:54,664 INFO [Server] Server Temp Dir: /usr/jboss/jboss-4.2.3.GA/server/default/tmp 00:27:54,665 INFO [Server] Root Deployment Filename: jboss-service.xml 00:27:55,031 INFO [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc. 00:27:55,031 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b16,Sun Microsystems Inc. 00:27:55,032 INFO [ServerInfo] OS-System: Linux 2.6.18-53.el5PAE,i386 00:27:55,442 INFO [Server] Core system initialized 00:27:57,800 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.networkregis...@5976c2)] 00:27:57,824 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss/jboss-4.2.3.GA/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
What version are you using ? The latest version of JBT publishes by default into a seperate deploy directory to avoid pollution of your AS install. You can see the directory if you double click the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200250#4200250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JSF Code completion VERY slow
3.01 ? that doesn't exist ,) Do you mean JBT 2.0.1 ? There can be a slow response on the first completion in case the model is not fully build/initialized but after that things should work pretty smoothly. So this is not normal. Anything in the Error log ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200249#4200249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Model Update NPE
please report in jira and attach the content of your eclipse log (i.e. the file generate via Help > Report a problem) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200248#4200248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to model hierarchy recursion process ?
Hi Joy, I saw your post regarding requirement for hierarchical structure workflow. Even I have a similar requirement. I tried implementing it using a task node and a decision node to loop back to task node, but it gives a StackOverFLow exception. I figured out from few posts in this forum that it is known issue in JBPM. It would be great if you could post what approach or design did you use to implement the above pattern. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200245#4200245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: AS 5.0: Why touch web.xml for exploded deploys?
"KoosPol" wrote : Since AS 5.0 does exploded deploys automatically "PeterJ" wrote : What do you mean by (specifically, the word 'automatically') Perhaps I should've chosen my words more carefully. But hey, I'm a non-native. Anyway, in the light of my question I think it's semantics. I'm trying to figure out if AS/Tools could manage without touching web.xml to trigger a redeploy. We're trying to come up --as written in my OP-- with a standard "template" / setup for new Eclipse projects. Creating a specific build script task for touching the web.xml is specific as hell, and could be missed dearly. Thanks for listening. Koos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200244#4200244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Native library deployment in JBoss 5
Please post more details including the entire exception stacktrace and the console logs. Also which exact version of JBoss-5 do you use? While posting logs, or xml content or code, please wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure your post is correctly formatted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200243#4200243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - sizing guide
is there any documentation out there with information on hardware sizing for JBoss AS ? In several of our proposals, we are required to provide suggested hardware. Is there some sort of general guideline on - for example, amount of memory per certain range of number of users? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200242#4200242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JB 5.0 error deploying short web application
The javadoc of java.io.File http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File) says this: anonymous wrote : The prefix argument must be at least three characters long. There's a bug filed already to track this https://jira.jboss.org/jira/browse/JBAS-5089 P.S: Surprisingly, my WAR named ab.war deploys fine on JBossAS-5.0 GA on RHEL operating system :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200240#4200240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Read Timeout on stressing calls for validating pr
In the meanwhile, I tried overnight tests on my system with invokerDestructionDelay=1, & I face this exception on server. I cannot understand what it means, but it is linked with socket; so I thought it may be worth to share; Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73) at com.barco.cms.eventmgt.EventQueuePoolImpl.createEventQueue(EventQueuePoolImpl.java:163) at com.barco.cms.openapi.sessionmgt.SessionManager.createSession(SessionManager.java:109) at com.barco.cms.openapi.OpenAPIImpl.startSession(OpenAPIImpl.java:148) at com.barco.cms.openapi.PerspectiveMgtAPIImpl.startSession(PerspectiveMgtAPIImpl.java:426) at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at com.barco.cms.openapi.PerspectiveMgtAPIImpl.initialSteps(PerspectiveMgtAPIImpl.java:269) ... 32 more Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.loader.Loader.doList(Loader.java:2223) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) at org.hibernate.loader.Loader.list(Loader.java:2099) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64) ... 42 more Caused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:218) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:90) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) at org.hibernate.loader.Loader.getResultSet(Loader.java:1787) at org.hibernate.loader.Loader.doQuery(Loader.java:674) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.doList(Loader.java:2220) ... 50 more Caused by: java.net.SocketException: Socket closed at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78) at org.postgresql.core.PGStream.SendChar(PGStream.java:174) at org.postgresql.core.v3.QueryExecutorImpl.sendBind(QueryExecutorImpl.java:829) at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1053) at org.postgresql.core.v3.QueryExecutorImpl.sendQueryPreamble(QueryExecutorImpl.java:373) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:189) ... 60 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200238#4200238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Newbie FAQ type question - Where is Admin documentation?
anonymous wrote : How do you modify the default installed instance to not be bound to Localhost/127.0.0.1? https://www.jboss.org/community/docs/DOC-10179 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200237#4200237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SocketProcessId.getpid could not get unique port
See this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146880 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200236#4200236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EBJ configuration help needed!!!
Hello, I am running EJB3.0 along with hibernate in jboss 4.2.2. I am having an EJB with method Parent() which calls another EJB with a method A() which in turn calls a DAO layer method B() which makes a select statment. I have given @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) for method A(). I printed the execution time of the method A() in method Parent() and printing the execution time of the query within the DAO method B(). They are as follows in secs A() - 0.063 -> B() - 0.015 A() - 0.063 -> B() - 0.031 A() - 1.563 -> B() - 0.032 A() - 1.875 -> B() - 1.531 A() - 1.828 -> B() - 1.578 Why is there a sudden increase in excecution time (1.563) of method A() even when my corrresponding DAO method B() takes only little time (0.032) to complete. The corresponding calls are all increased.. The calls to method A() will be approximately 40 per second so my application is fast running. Is there something wrong in configurations of my JBOSS or is there a way to avoid it ??? Thanks in Advance Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200234#4200234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although
Thank you so much, Jaikiran :-) So am I right in my conclusion that if I call this portion of code directly from my standalone Java client : | Properties p = new Properties(); | p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | p.put("java.naming.provider.url", "jnp://localhost:1099"); | p.put("java.naming.factory.url.pkgs", "org.jboss.naming.client"); | | java.sql.Connection conn; | InitialContext ic = new InitialContext(p); | javax.sql.DataSource db = (javax.sql.DataSource) ic.lookup("java:OracleXE1_DS"); | conn = db.getConnection(); | to lookup a wrapper datasource from a JPA entity project saved in my JBoss AS using EntityManager, it would always give me a "XXX not bound" exception because the JBoss AS and the Java client are running on separate VMs ? Would the solution be : to create an EJB3 to get the Java client to lookup the EJB3 instead - ctx.lookup("bean/local") - and then have the bean call the wrapper datasource - ctx.lookup("java:/DefaultDS") - assuming it would work because the EJB and the wrapper datasource are both managed by the JBoss AS container and so the java:/ namespace can be used because they are using the same VM (JBoss VM) ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200233#4200233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Ok, you are right :-) ...JNDI now returns a remote namespace: JMX Console's JNDI View: | +- BiddingTestEAR (class: org.jnp.interfaces.NamingContext) | | +- BiddingTestBeanLocal (class: org.jnp.interfaces.NamingContext) | | | +- local (proxy: $Proxy107 implements interface my.com.eperolehan.ejb.BiddingTestBeanLocalLocal,interface org.jboss.ejb3.JBossProxy) | | +- BiddingTestBean (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy102 implements interface my.com.eperolehan.ejb.BiddingTestBeanRemote,interface org.jboss.ejb3.JBossProxy) | However, I am now getting this rather simple 2-liner error : | java.lang.NullPointerException | at BidClient.main(BidClient.java:95) | and the code pointed to is this : | em.getTransaction().begin(); | I've moved all the em.getTransaction().begin(), em.persist(bidder) and em.getTransaction().commit() calls out of the EJB3 and into the client because originally putting them in the EJB3 was giving me this error : Console: | 10:43:46,984 ERROR [STDERR] java.lang.IllegalStateException: Illegal to call this method from injected, managed EntityManager | It seems that whenever I use the code below, I get the above error: | @PersistenceContext(unitName="BiddingTest") | private static EntityManager em; | So I changed from injection to this : | private static EntityManagerFactory emf; | private static EntityManager em; | | emf = Persistence.createEntityManagerFactory("BiddingTest"); | em = emf.createEntityManager(); | Then I got this error which I believe, from the forums, is due to incompatibilities from the Hibernation Compatibility Matrix : | Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.setProperty(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration; | However, I made sure I was compatible by using the latest Hibernate downloads and including the jars as well as the supporting and required jars found in the lib of that Hibernate product. Here is what I've added to the classpath: antlr-2.7.6.jar commons-collections-3.1.jar commons-logging-1.1.1.jar concurrent.jar dom4j-1.6.1.jar ejb3-persistence.jar hibernate-annotations.jar hibernate-commons-annotations.jar hibernate-core.jar hibernate-entitymanager.jar javassist-3.4.GA.jar jboss-common-client.jar jboss-j2ee.jar jboss-transaction-client.jar jbossall-client.jar jbosssx-client.jar jnp-client.jar jnpserver.jar jta-1.1.jar log4j.jar slf4j-api-1.5.2.jar slf4j-jdk14-1.5.2.jar My Hibernate versions: - Hibernate Distribution 3.3.1.GA - Hibernate EntityManager 3.4.0.GA - Hibernate Annotations 3.4.0.GA Ugh...still no progress, but I would like to ask you a few questions also:- (1) Should the EntityManagerFactory be created only once (since it is a factory) and where is the best place to put its creation? Should we make the creation a singleton and how? (2) Should the EntityManager be created in the EJB or in the java client or servlet or jsp ? (3) Where do I place all the "em.getTransaction().begin(), em.persist(bidder) and em.getTransaction().commit()" commands? In the client/servlet/jsp or in the EJB? Thank you so much in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200232#4200232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm db size
what do you do? do you store all your domain data in the process? processes that have ended have a date in their END_ column Deleting those with recursion should work afaik. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200228#4200228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process State in a Fork not executing correctly
thanks, will try it the coming days. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200227#4200227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem persisting tasks
thanks for reporting back... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200226#4200226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - SocketProcessId.getpid could not get unique port
When starting jboss server, it will report some errors. Platforms is windows Vista x64, jboss 5.0.0.GA Following is part of the output : 2009-01-08 09:49:58,418 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Create: name=TransactionManager state=Configured com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.internal.arjuna.utils.SocketProcessId_2] - SocketProcessId.getpid could not get unique port. at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.getpid(SocketProcessId.java:105) at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:277) at com.arjuna.ats.arjuna.common.Uid.(Uid.java:105) at com.arjuna.ats.arjuna.utils.Utility.getProcessUid(Utility.java:289) at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.(TransactionStatusManagerItem.java:366) at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.createAndSave(TransactionStatusManagerItem.java:84) at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start(TransactionStatusManager.java:145) at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.(TransactionStatusManager.java:72) at com.arjuna.ats.arjuna.coordinator.TxControl.(TxControl.java:355) at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) Any one can help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200224#4200224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: validatorPingPeriod/Timeout etc. not properly passed fro
the title which was truncated was supposed to "... passed from messaging to remoting layers". I locally patched JMSRemotingConnection to copy the validatorPingTimeout and validatorPingPeriod from the URI into the config map, and everything worked as expected (i.e. the remoting-bisocket-service.xml values from the server were used on the client for the connection validation). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200222#4200222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Always getting not bound naming exceptions
Agreed, Jaikiran! Thanks ! Example code (for everyone) :- | | | OracleXE1_DS | false | jdbc:oracle:thin:system/sys...@localhost:1521:XE | oracle.jdbc.driver.OracleDriver | system | system | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | Oracle10g | | | | P.S. This is for oracle-ds.xml for my Oracle DB. Change the paras accordingly for the db you are using. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200221#4200221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem running JBoss in debug mode
Whoops! :) Well I guess you learn something new everyday. Thanks for your help jaikiran - it's working now :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200219#4200219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Newbie FAQ type question - Where is Admin documentation?
Installed the JBoss AS/Web Portal package. I may be looking in the wrong places but can't find documentation on a number of typical Admin type tasks, I've only found a few bits of info scattered in the /doc of the installation, in wiki.jboss.org. Since these are basic questions others almost certainly have addressed I feel I'm missing some major resource or documentation. Unanswered questions I have include Some questions might be answerable if there was a clear description of the architecture of JBoss AS, eg if it is a composite Apache/Tomcat but I can't determine if that is true. Is JBoss architecture documented (it's not in the downloaded JBoss AS docs I downloaded)? How do you modify the default installed instance to not be bound to Localhost/127.0.0.1? There is a description how to modify the port but not the hostname/weblistener/ipaddress or whatever is supported. I suppose that wherever the info is about modifying the Parent instance(s) that is also where SSL can be configured? Does JBoss AS support multiple "parent" instances? The Admin portal only supports creating child portals... TIA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200217#4200217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Recommended Memory Usage
Thank you for your insight, Peter. Currently, we are planning on going vmware. Each of our vmware image will have 2 gig of ram assigned to it. We are trying to figure out just exactly how many instances of JBoss AS we can run on each of these images. Assuming that we have each JBoss instance set to run at 400-500mb of max heap size, we have figured that we can probably run two instances on each image. Now given the formula presented, we are putting away 500mb for misc jvm operations. If we run two instances, will that misc number have to double? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200216#4200216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
Has anyone any idea what the fix is to this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200208#4200208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
Has anyone any idea what the fix is to this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200207#4200207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5
BTW, as a workaround I looked at the context.xml file, as that seems to now be the preferred way to add a Context in tomcat. However, the jbossweb.sar/context.xml is seeming global, and only allows one Context defined. I need to add four contexts. Anyone know how to do userland context.xml files in jboss 5? I looked in the jboss docs and I couldn't find the equivalent as explained in the tomcat docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200206#4200206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5
Thanks for the reply. I created this jira: https://jira.jboss.org/jira/browse/JBAS-6368 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200205#4200205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools Model Update NPE
Hi, Whenever I open an existing project in the new jboss tools editor, I get this error: An internal error occurred during: "JBoss Tools Model Update". java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at org.jboss.tools.jst.web.tld.TaglibMapping.findTldsInFolder(TaglibMapping.java:227) at org.jboss.tools.jst.web.tld.TaglibMapping.loadTldsInWebInf(TaglibMapping.java:172) at org.jboss.tools.jst.web.tld.TaglibMapping.revalidate(TaglibMapping.java:82) at org.jboss.tools.jsf.web.JSFWatcherContributor.updateProject(JSFWatcherContributor.java:49) at org.jboss.tools.common.model.project.Watcher.updateAll(Watcher.java:109) at org.jboss.tools.common.model.project.Watcher.access$0(Watcher.java:92) at org.jboss.tools.common.model.project.Watcher$WatcherRunnable.run(Watcher.java:52) at org.jboss.tools.common.model.XJob.runInWorkspace(XJob.java:156) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Anyone know what it is and/or how to find out what's missing? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200204#4200204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JSF Code completion VERY slow
I have the JDS beta but saw this same behavior with tools 3.01. I have a JSF project and the code completion (CTRL+space) is VERY slow when trying to complete on a bean. For example: and the cursor at is takes about 15 seconds to come back with the possible auto-completion. On a new project, this is very fast. On my existing JSF project, I have about 15 beans configured in faces-config.xml. Is there any way to troubleshoot why it's so slow? Maybe some re-build or cache that needs to be done when importing an existing project? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200200#4200200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: SAP integration with JBOSS portal
I understand this post is very old. However, I am doing the same research. Basically we are evaluation portal product for our company. And one of the biggest criteria is ease of integration with SAP system we have here. Any information from your experience will be very helpful. Brian Ko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200199#4200199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss 5.0 fails in startup after applying JBossWS 3.0.5
I installed JBoss-5.0.0.GA and it ran fine - my jre is a jdk6u10 version. I stopped the instance, then downloaded jbossws-native-3.0.5.GA, set the ant.properties per instructions, and ran ant deploy-jboss500. I then made sure that the jar files from the WS made it to the JBoss lib/endorsed folder, as discussed elsewhere in this forum. Now I'm getting failures during startup of JBoss. Numerous exceptions appear in the log, a portion of which follows. Any clues as to why the JBossWS build kills JBoss like this? Thanks in advance. LOG FRAGMENT: ... 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(remoting-jboss-beans.xml) with relative path: remoting-jboss-beans.xml-e4b4e38880aec6b7ccc5f95d211ae5db\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(ROOT.war) with relative path: ROOT.war-7aa373c31716b96f128bcc492afefb1b\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(security-jboss-beans.xml) with relative path: security-jboss-beans.xml-f0f673d27f3a8df2fa795ad4d7e63827\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(security-policies-jboss-beans.xml) with relative path: security-policies-jboss-beans.xml-c9c500f9d2cfbf66b8f8be49f0e351be\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(transaction-jboss-beans.xml) with relative path: transaction-jboss-beans.xml-08047d763ec4fd3cf83823e21ec475d8\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(transaction-service.xml) with relative path: transaction-service.xml-fe70a3fcddf5d1625851f8668d33772d\ 16:31:45,736 DEBUG [AbstractAttachmentStore] No persisted attachment found for deployment AbstractVFSDeployment(uuid-key-generator.sar) with relative path: uuid-key-generator.sar-5065595621f5861b2b3f476a27990d3e\ 16:31:45,736 INFO [ProfileServiceImpl] Loading profile: standard from: org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@151fe8a(root=C:\jboss_5_0_0_GA\server, key=org.jboss.profileservice.spi.profile...@664cb3f[domain=default,server=default,name=standard]) 16:31:45,736 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@151fe8a(root=C:\jboss_5_0_0_GA\server, key=org.jboss.profileservice.spi.profile...@664cb3f[domain=default,server=default,name=standard]) 16:31:45,736 INFO [ProfileServiceImpl] Loaded profile: profilei...@1c160cb{key=org.jboss.profileservice.spi.profilekey@664cb3f[domain=default,server=default,name=standard]} 16:31:45,752 DEBUG [ProfileServiceBootstrap] Using ProfileService: org.jboss.system.server.profileservice.repository.profileservicei...@7b4ed7 16:31:45,752 DEBUG [ProfileServiceBootstrap] Using MainDeployer: org.jboss.deployers.plugins.main.maindeployeri...@17535b6 16:31:45,752 DEBUG [AbstractManagedObjectFactory] Created skeleton ManagedObject: ManagedObject{org.jboss.kernel.plugins.deployment.AbstractKernelDeployment} 16:31:45,768 DEBUG [AbstractManagedObjectFactory] Created skeleton ManagedObject: ManagedObject{org.jboss.classloading.spi.metadata.ClassLoadingMetaData} 16:31:45,768 DEBUG [AbstractManagedObjectFactory] ICF returned null class: abstractbeanmetad...@d0d843{name=topcontextcomparator bean=null properties= classloader=abstractclassloadermetad...@6a2f81{classloader=abstractdependencyvaluemetadata@1263b07{value=deployers-classloader:0.0.0}} constructor=abstractconstructormetad...@154ea79{parameters= factoryClass=org.jboss.system.deployers.LegacyDeploymentContextComparator factoryMethod=getInstance} autowireCandidate=true} 16:31:45,768 DEBUG [AbstractManagedObjectFactory] ICF returned null class: abstractbeanmetad...@ed65e0{name=managedobjectfactory bean=null properties= classloader=abstractclassloadermetad...@6a2f81{classloader=abstractdependencyvaluemetadata@1263b07{value=deployers-classloader:0.0.0}} constructor=abstractconstructormetad...@d2b918{parameters= factoryClass=org.jboss.managed.api.factory.ManagedObjectFactory factoryMethod=getInstance} autowireCandidate=true installCallbacks=[method=addInstanceClassFactory, method=addManagedObjectDefinition] uninstallCallbacks=[method=removeInstanceClassFactory, method=removeManagedObjectDefinition]} 16:31:45,768 DEBUG [BeanMetaDataICF] Using bean class:, class org.jboss.beans.metadata.plugins.AbstractBeanMetaData for bean: abstractbeanmetad...@1144823{name=managedobjectcreator bean=org.jboss.deployers.spi.deployer.helpers.DefaultManagedObjectCreator properties=[mof] classloader=abstractclassloadermetad...@6a2f81{classloader=abstractdependencyvaluemetadata@1263b07{value=deployers-classloader:0.0.0}} constructor=null autowireCandidate=true} 16:31:45,768
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [4.2.2] NameAlreadyBoundException on deploy when binding
No I ended not deploying the 3rd war in my EAR :( sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200194#4200194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - validatorPingPeriod/Timeout etc. not properly passed from me
Again this is with JBoss 4.3.0 CP03 I tried additionally using remoting 2.2.2.SP11 which fixes a related bug in the remoting layer. The basic problem appears to be with JMSRemotingConnection.start() It creates an underlying Client passing the URI and a Map of config parameters. The config parameters map is populated explicitly from the URI (but only two parameters : enableLease and clientMaxPoolSize) The remoting Client when creating a ConnectionValidator looks in the config Map (not the URI) for the validatorPingPeriod/Timeout etc. and since they're not there ends up using the defaults. It appears the intention of the design is that the caller should populate the Map with all relevant parameters rather than having the remoting layer automatically pull them from the URI, but it is hard to be 100% sure. In any case, right now this prevents you from override the default ping period and timeout via your remoting-bisocket-service.xml (even though these do make it all the way to the client and indeed the URI passed down to the remoting layer). I checked the tip of 1.4.0, 1.4.1 and 1.4.2 and as far as I can tell none of them pass this info down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200193#4200193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Kernel/KernelController reference under JBossAS
Hi, as the Microcontainer is not singleton by its design, what is the recommended way how to retrieve reference of Kernel (or KernelContext) running within JBossAS? What functionality is AS adding on top of Microcontainer itself? Is there any documentation related to it? Thanks Radim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200191#4200191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [4.2.2] NameAlreadyBoundException on deploy when binding
Did you ever get this solved. This is happening to me except I have 1 ejb jar and 3 wars and I get this when the second war tries to start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200190#4200190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Pulling resource files from localhost rather than JBoss
OOPs! it's http://localhost/inc/address.xsl"/> Sorry, I am a moron :-) I inherited this huge code base that I don't know. Good questions! Thank you for your help! Now I can figure out the rest! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200189#4200189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
See my previous post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200188#4200188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Pulling resource files from localhost rather than JBoss
Please post the code in your application that references the address.xsl file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200182#4200182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Unable to compile class for JSP after deploying EAR update
Using JBoss 4.2.x, if I build an EAR file on my Mac OSX workstation and upload it to my production Linux web server's deploy directory, there is a seemingly random chance per .JSP page that going to that page will generate an "Unable to compile class for JSP" exception. If I keep stopping and restarting the production JBoss server, eventually all the JSP pages work, but this is a complete nightmare for reliable deployment. I can't find anything on the internet describing this problem. Currently using JBoss 4.2.3 on all machines. Thought the problem might be time zone related so I set my workstation to the same time zone as the production machines, but still didn't fix the problem. Here is a typical error: java.io.FileNotFoundException: no such file: /usr/java/jboss-4.2.3.GA/server/default/work/jboss.web/localhost/_/org/apache/jsp/Web/overview_jsp.class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200181#4200181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Pulling resource files from localhost rather than JBoss
Yes, this is an .xsl file in my application web archive (.war) file. I am using exploded archive for ease of development. However, the container can not find it, because it is using the wrong path. My Jboss install is at myurl.mycompany.com:8080. So the correct path would be myurl.mycompany.com:8080/inc/address.xsl. But the container for some reason is looking into localhost/inc/address.xsl. Also it is interesting that I have a bunch of .jsp files in the application, and they are being loaded correctly. For some reason it effects only the .xsl files. Images are also loaded correctly. My JBoss version is 4.2.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200179#4200179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5
I went back and tried this on various releases. The results: 4.2.3: works 5.0.0.Beta4: works 5.0.0.CR1 & CR2: does not work 5.0.0.GA: generates this error: 11:48:18,994 ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create | org.jboss.xb.binding.JBossXBException: Failed to parse source: Context not found as a child of Host | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133) | at org.jboss.web.tomcat.service.deployers.TomcatService.startService(TomcatService.java:171) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) | ... I would open a JIRA issue, but for some reason I do not have update access to JIRA... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200175#4200175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
alesj; I spoke too soon regarding the clean run. I had a previously compiled jar of my own in the classpath that apparently provided information needed to resolve this error. When I removed it from the classpath the error returned. Now I only have MC 2.0.2GA libraries in the path and I get the following error when I deploy the jboss-demos-models.jar to the sandbox directory: JBoss-MC-Demo DEBUG [07-01-2009 11:32:01] SaxJBossXBParser - Created parser: com.sun.org.apache.xerces.internal.jaxp.saxparseri...@62fb35, isNamespaceAware: true, is | Validating: true, isXIncludeAware: true | JBoss-MC-Demo DEBUG [07-01-2009 11:32:01] JBossEntityResolver - Cannot resolve [publicID=urn:jboss:spring-beans:2.0,systemID=beans] | JBoss-MC-Demo WARN [07-01-2009 11:32:01] JBossEntityResolver - Cannot load systemId from resource: mc-spring-beans_2_0.xsd | JBoss-MC-Demo DEBUG [07-01-2009 11:32:01] JBossEntityResolver - Cannot resolve [publicID=null,systemID=urn:jboss:spring-beans:2.0] | JBoss-MC-Demo DEBUG [07-01-2009 11:32:01] BeanDeployer - Error during deploy: vfszip:/C:/JBoss/DZone_1_0/branches/DZone_1_0/sandbox/jboss-demos-models.jar | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/JBoss/DZone_1_0/branches/DZone_1_0/sandbox/jboss-demos-models.jar | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) | at org.jboss.demos.bootstrap.MainDeployerHelper.process(MainDeployerHelper.java:86) | at org.jboss.demos.bootstrap.HDScanner.scan(HDScanner.java:153) | at org.jboss.demos.bootstrap.HDScanner.run(HDScanner.java:113) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI=urn:jboss:spring-beans:2.0 location=beans | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) | | | So I guess I need to know how to resolve the problem of the spring-beans definition which is misssing. | | Regards, | | GMarsh View the original post : http://www.jboss.com/
[jboss-user] [EJB 3.0] - Re: JBoss 5 deployment error
I have posted a zip of the entire log at http://rabasrv.jhuapl.edu/server.log.zip The zip file is about 1 Meg and unzips to about 14 Meg. The first ClassNotFoundException occurs on line 31730. There was one other bean with self-injection and I had changed that one also before my last post. Just to be sure, here's the code for WorkflowEngine with the self-injection removed: | package workflow.ejb.server; | | import java.io.Serializable; | import java.lang.reflect.Method; | import java.util.ArrayList; | import java.util.Date; | import java.util.HashMap; | import java.util.List; | import java.util.Map; | | import javax.annotation.security.RolesAllowed; | import javax.ejb.Local; | import javax.ejb.Stateless; | import javax.ejb.TransactionAttribute; | import javax.ejb.TransactionAttributeType; | import javax.ejb.TransactionManagement; | import javax.ejb.TransactionManagementType; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.persistence.Query; | | import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | import org.jboss.ejb3.annotation.LocalBinding; | | import security.ejb.client.User; | import workflow.ejb.client.ExecutionDetail; | import workflow.ejb.client.ExecutionSummary; | import workflow.ejb.client.ResultingParams; | import workflow.ejb.client.StateDefinition; | import workflow.ejb.client.StepDefinition; | import workflow.ejb.client.TransitionDefinition; | import workflow.ejb.client.TransitionReference; | import workflow.ejb.client.WorkflowEngineLocal; | import workflow.ejb.util.ParamUtil; | import workflow.ejb.util.XPDLUtil; | | /** | * Processes workflow. Uses Declaritive Transaction Mgmt for individual methods. | */ | @Stateless | @RolesAllowed( { "UNCLASSIFIED" }) | @LocalBinding(jndiBinding = "workflow/WorkflowEngine/local") | @TransactionManagement(value = TransactionManagementType.CONTAINER) | public class WorkflowEngine implements Serializable, WorkflowEngineLocal { | | /** | * The class logger | */ | private static Log logger = LogFactory.getLog(WorkflowEngine.class); | | /** workflow engine */ | //@javax.annotation.Resource(mappedName = "workflow/WorkflowEngine/local") | //private WorkflowEngineLocal workflowEngineLocal; | | /** | * The entity manager | */ | protected @PersistenceContext(unitName = "workflow") | EntityManager em; | | /** | * Sets the execution summary id of the execution detail. | * | * @param executionSummaryId | * @param executionDetailCopy | */ | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void addExecutionDetailToExecutionSummary(long executionSummaryId, | ExecutionDetail executionDetailCopy) { | | Query updateComplete = em | .createNativeQuery("update EXECUTION_DETAIL set EX_SUMMARY_ID = :first where ID = :second"); | | updateComplete.setParameter("first", executionSummaryId); | updateComplete.setParameter("second", executionDetailCopy.getId()); | updateComplete.executeUpdate(); | } | | /** | * Make sure that all transition definitions for a join have an associated | * execution detail meaning that the join can proceed. | * | * @param tdList | * @param esId | * @return boolean | */ | @SuppressWarnings("unchecked") | public boolean areAllJoinTransitionsFinished( | List tdList, long esId) { | | if (tdList == null) { | logger.error("No transitions found for fork in execution summary: " | + esId); | return false; | } | | for (TransitionDefinition td : tdList) { | | Query query = em | .createQuery("from ExecutionDetail e " | + " WHERE e.associatedStepId =:first AND e.executionSummaryId =:second AND e.completed =:third"); | | query.setParameter("first", td.getId()); | query.setParameter("second", esId); | query.setParameter("third", Long.parseLong("1")); | | List edList = query.getResultList(); | long edSize = edList.size(); | | if (edSize < 1) { | return false; | } | } | return true; | } | | /** | * Checks if an execution detail exists for an execution summary and step | * definition id. | * | * @param executionSummaryId | * @param stepDefinitionId | * @return int | */ | @SuppressWarnings("unchecked") | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) | publi
[jboss-user] [JBoss Messaging] - Re: MDBs failing to listen to remote topic/queues
Thanks, changing java:/XAConnectionFactory to XAConnectionFactory solved my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200169#4200169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Pulling resource files from localhost rather than JBoss
What version of JBoss AS are you running? I searched JBoss AS 4.2.3 for a reference to the address.xsl file, but could not find one. I suspect that your application is referencing this file. Have you searched your app for mention of this file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200163#4200163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem persisting tasks
I tried what you suggested me, but it did not work. I finally could solve my problems with transient object exception, saving explicitly through Hibernate Session: jbpmContext.getSession().save(executionContext.getTaskMgmtInstance()); or jbpmContext.getSession().save(contextInstance); depending on the case. I don't know if this is right, but at least worked. I saw one post from a guy who had the same problem when deployed the process programmatically, so that's why I post my solution Thanks! Fernando. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200161#4200161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Recommended Memory Usage
Yes, you can run with on 512MB of RAM. As long as you don't care about performance and will have only, at most, a handful of users. I ran JBoss AS on a laptop with only 512MB once. It was not that much fun. ;-) The wiki formula is probably a better bet. Typically, I prefer 2GB of RAM to run a single instance of JBoss AS, usually using about a 1.2GB heap. That should run a large number of user (hundreds or thousands, depending on the level of activity). If you have fewer users you can get away with less RAM. I am running JBoss Portal for our department on a system with 1GB RAM. That system also hosts the MySQL database used by Portal. But then our users number in the tens, and activity is very low. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200160#4200160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2
Did you try doing a search replace on jg-magic-map.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200158#4200158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
"Gary Marsh" wrote : | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI=urn:jboss:spring-beans:2.0 location=beans | This means you're missing MC's spring-int lib in classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200156#4200156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Looking up a PU from @PersistenceContext annotation
After injecting PersistenceUnitDependencyResolver, this piece of pseudo code should do the trick: String beanName = persistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(deploymentUnit, persistenceUnitName); | PersistenceUnitDeployment deployment = lookup(beanName); | ManagedEntityManagerFactory managedFactory = deployment.getManagedFactory(); | return new InjectedEntityManagerFactory(managedFactory); Although PersistenceUnitDeployment is an internal. Maybe we should add a simple utility class to jpa-deployers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200154#4200154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging gets stuck
anonymous wrote : Should we upgrade to Messaging-1.4.2? Yes.. I would suggest that... Followed by the upgrade on remoting as required by the installation section on 1.4.2 docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200152#4200152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Looking up a PU from @PersistenceContext annotation
Also, I have full access to MC at this point, so what I'm doing for @EJB injection is to lookup the EjbReferenceResolver MC bean and use it to get the JNDI name for the injection point. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200151#4200151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Looking up a PU from @PersistenceContext annotation
I have a field/method annotated @PersistenceContext (not on an EJB) that I need to inject. I have full access to the field/method (declared type, annotation), and need a way to get the correct persistence unit from JBoss EJB3. This could be directly (return the correct object) or a JNDI reference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200150#4200150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MDBs failing to listen to remote topic/queues
The link you provided is for JBossMQ, right? Are you trying to connect to a remote JBossMQ? All you need to do is to change jms-ds.xml: | DefaultJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | | java:/XAConnectionFactory | | java:/XAConnectionFactory | | java:/XAConnectionFactory | | | Assuming you are trying to use a remote JBossMessaging: The ConnectionFactory you use here should just be a remote CF (java:/ means local), and you should keep the properties accordingly to the remote node. If you also have MDBs connecting locally, you should duplicate the configs on jms-ds and make sure your MDB is using the correct adapter. For more question regarding this, you would be better on finding help at JCA forum or EJB forum. (MDB is an EJB/EJB3 component.. not JBossMessaging) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200149#4200149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Shunning
Hi Guys, I have my cluster config like so | | | | | | | | | | | | | | | | | | | | Now what I am interested in is the these 2. | | | | Now if a node goes becomes unresponsive for a certain time and leaves the group, would be be allowed back in if he recovers with the current config like so?? I have read here http://www.jgroups.org/javagroupsnew/docs/manual/html_single/index.html#d0e2873 I need to set both to false. Would the above configuration stop a node rejoining the group if it left?? Thanks, LL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200147#4200147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: clientLeasePeriod for JMS clients (bisocket)
Sorry, we're using whatever comes with JBoss 4.3.0EAP CP 03 I'm guessing that the ping requires a Java level response, so we should consider (potentially badly configured) GC pauses when setting this value ourselves. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200148#4200148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
alesj; Just a Note: when I substitute the JBossAS library Jars for the MC Library jars in my classpath the error goes away. I last updated my MC 2.0.2GA download 12/04/08. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200145#4200145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access
Im using JBoss 4.3 EAP and have the same problem. Is there a solution for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200144#4200144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: websphere 5.1 calling jboss 4
See if this helps: [urlhttp://docs.jboss.org/jbossas/guides/j2eeguide/r2/en/html/ch3.chapter.html[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200143#4200143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
Thanks for the reply alesj; I tweeked the classpath to include all of the MC's library jars and it compiles and parses past the previous error. Now I am getting the following runtime error: JBoss-MC-Demo DEBUG [07-01-2009 08:52:59] JBossEntityResolver - Cannot resolve [publicID=urn:jboss:spring-beans:2.0,systemID=beans] | JBoss-MC-Demo WARN [07-01-2009 08:52:59] JBossEntityResolver - Cannot load systemId from resource: mc-spring-beans_2_0.xsd | JBoss-MC-Demo DEBUG [07-01-2009 08:52:59] JBossEntityResolver - Cannot resolve [publicID=null,systemID=urn:jboss:spring-beans:2.0] | JBoss-MC-Demo DEBUG [07-01-2009 08:52:59] BeanDeployer - Error during deploy: vfszip:/C:/JBoss/DZone_1_0/branches/DZone_1_0/sandbox/jboss-demos-models.jar | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/JBoss/DZone_1_0/branches/DZone_1_0/sandbox/jboss-demos-models.jar | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) | at org.jboss.demos.bootstrap.MainDeployerHelper.process(MainDeployerHelper.java:86) | at org.jboss.demos.bootstrap.HDScanner.scan(HDScanner.java:153) | at org.jboss.demos.bootstrap.HDScanner.run(HDScanner.java:113) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI=urn:jboss:spring-beans:2.0 location=beans | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) | | Do I need to update my MC libraries?? | | Regards; | GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200141#4200141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5
Anyone have a fix for this? I have the same problem. Here's my server.xml config: | | | | | | | This config worked on at least 4.0.5 and 4.2.2 . I searched the release notes and the jboss 5 docs and I see nothing about this change. Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200140#4200140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using remote EJB3 bean from multiple remote versions of
I think that the idea of having an API to check the versions is a good one. I recall many years ago while developing a client/server app that one of my testers complained almost daily that the build was broken. After a few times of helping him and finding out that in each case he mismatched the client and server components, I added a method to the server that returned the version number, and had the client request the version number before doing anything else, and generating a decent error message if it did not like what it saw. That tester never complained again, though he did mention that he often got that error but now at least he knew what he did wrong and how to fix it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200139#4200139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J
I experienced the same problem, but I didn't have any jars deployed in the wrong place. My problem was that I wasn't casting to the EXACT interface name that I had annotated with @Remote. My interface was extending from an interface that was annotated with @Remote. It was only when I: 1.) Cast to the exact interface that contains the actual @Remote annotation 2.) Specified the JNDI lookup name suffixed with /remote Did it finally work for me... Here is the syntax that worked in my case: | OrderManager orderManagerEjb = (OrderManager) jndiContext.lookup("OrderManagerBean/remote"); | Where OrderManager has the @Remote annotation. Hope this helps somebody. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200137#4200137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JB 5.0 error deploying short web application
I'm working on migrating our web applications from 4.2.2 to JB 5.0. the below error shows up. It seems that the call to: File.createTempFile(prefix, "-exp.war", config.getServerTempDeployDir()); cannot create a temp file using a prefix that is shorter than 3 characters. Not sure if I should create a bug in JBoss for this. | 11:37:15,471 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/tools/jboss-5.0.0.GA/server/default/deploy/ab.war state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Failed to create web module | at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:472) | at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:87) | at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) | at org.jboss.Main.boot(Main.java:209) | at org.jboss.Main$1.run(Main.java:547) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.IllegalArgumentException: Prefix string too short | at java.io.File.createTempFile(File.java:1782) | at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:369) | ... 23 more | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200136#4200136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: New resource adapter deployers (JCA)
"jesper.pedersen" wrote : | Do you have an example somewhere ? I'm not running in the AS -- this is for the standalone JCA container directly on the MC. | See the tests associated with AnnotationEnvironment. "jesper.pedersen" wrote : | I need somewhere to add one or more dependencies on beans already in the INSTALLED stage. The dependencies are listed in our jboss-ra.xml file. Best practices for that ? | JBP has similar issues: - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146744 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200133#4200133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
Hi, | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-5.0.0.GA | | JAVA: C:\Program Files\Java\jdk1.6.0_02\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\jboss-5.0.0.GA\bin\run.jar | | For a completely clean & unmodified instance (no apps) of JBoss 5.0, it takes about 1 minute to start. In Eclipse, using the JBoss plugin, it takes about 2 minutes to start the app using the "Run" command and 3-4 minutes to start in debug mode. In other words, starting it in debug mode is taking significantly longer. I guess it should be slower than non-debug mode, but I don't remember the discrepancy ever being this drastic. Anyway, I guess probably not much I can do about it.. unless you have some ideas. Thanks again for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200128#4200128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: New resource adapter deployers (JCA)
anonymous wrote : This should just plug-in into AnnotationEnvironment. | See | (Filtered)AnnotationEnvironmentDeployer in JBossAS's metadata-deployer-jboss-beans.xml. Do you have an example somewhere ? I'm not running in the AS -- this is for the standalone JCA container directly on the MC. anonymous wrote : I don't understand what you're trying to do here. I need somewhere to add one or more dependencies on beans already in the INSTALLED stage. The dependencies are listed in our jboss-ra.xml file. Best practices for that ? anonymous wrote : It depends. :-) | Go to deployers project and check the existing Deployer sub-classes hierarchy. | Most of them have meaningful names and there's a lot of examples/tests behind them. package.html files would be nice to get an overview... but I'm reading through the -spi directories currently - and with AnnotationEnvironmentDeployer I guess deployers-vfs also. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200126#4200126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - websphere 5.1 calling jboss 4
Hello everyone, I have an application deployed on WAS5 and I need to call a session ejb deployed on jboss, where I can find documentation for doing this job? I have to make iiop call from was to jboss (how to configure jboss) or I have to make jnp call from was to jboss (how to configure was) thanks in advice!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200123#4200123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: paging warnings
Reset your data directory. You must have old data somewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200122#4200122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - plug-in problem
Hi!I need help! My designer doesn't work. When I try to plug jpdl to eclipse, I receive every time the same message: An exception occurred while downloading feature from "jar:file:C:/Document and Settings/Desktop/jbpm-jpdl-designer-site-3.1.6.zip!/features/org.jbpm.gd.jpdl.docs_3.1.6.jar". Do you want to retry? What can I do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200121#4200121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process State in a Fork not executing correctly
Hi Ronald thanks for your reply. I've noted your comment about events & actions above node level,very useful thanks. Please disregard the previous post as I've simplied the Process Definitions to: Main Process Definition (ExpenseReport4) And the Sub Process (ClaimVat) I've pulled out my code into a simple test block as below. This code goes through the transitions in both the main Proc Def & its two sub processes. The sub processes use the same proc def (ClaimVat.xml). I've included in the codes comments what I would expect to see versus what I am seeing. Any help would be greatly appreciated. Best regards, Phil | String expenseReport4ProcDef=""+ | ""+ | ""+ | ""+ | ""+ | ""+ | ""+ | ""+ | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | ""+ | ""+ | ""; | | String claimVatProcDef=""+ | | ""+ | | ""+ | ""+ | ""+ | | | ""+ | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | | ""+ | ""+ | | ""; | | ProcessDefinition processDefinition = null; | | processDefinition = ProcessDefinition.parseXmlString(expenseReport4ProcDef); | context.deployProcessDefinition(processDefinition); | | processDefinition = ProcessDefinition.parseXmlString(claimVatProcDef); | context.deployProcessDefinition(processDefinition); | | ProcessInstance procInstance = context.newProcessInstanceForUpdate("ExpenseReport4"); | | String[] processTransitions = {"toClaimReviewed", "toClaimArchived", "toClaimVat2","toTaskNode1" ,"toClaimReviewed", "toClaimArchived"}; | | procInstance.signal("toClaimVat1"); | procInstance.getRootToken().getSubProcessInstance().getRootToken().getAvailableTransitions(); //This returns transition "toClaimReviewed" as expected. This is correct. | procInstance.getRootToken().getSubProcessInstance().signal("toClaimReviewed"); | procInstance.getRootToken().getSubProcessInstance().signal("toClaimArchived"); | procInstance.getRootToken().getChild("toState1").signal("toTaskNode1"); | procInstance.getRootToken().getChild("toState2").signal("toClaimVat2"); | procInstance.getRootToken().getChild("toState2").getAvailableTransitions();//this should contain "toClaimReviewed" but only contains the transition "fromClaimVat2" after | // Sub Process. The only difference I can see between the execution of this sub process and the one above is this | // sub process is being executed from a child | // execution path,whereas the sub process that works as expected is the one that is executed from the root execution path. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200120#4200120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Parsing Error run DZone_1_0 demos
"Gary Marsh" wrote : | Do I need to update an .xsd file somewhere? | There is no .xsd file. The schema is in-memory generated from metadata classes. e.g. see AbstractBeanMetaData from MC and JBossXB project My guess would be you're missing MC's classloading and aop-mc-int on the classpath, hence no matching metadata classes --> no schema --> unknown elements. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200117#4200117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Native library deployment in JBoss 5
In JBoss 4, I used to deploy a sar file with a native library inside (linux so file). The SARDeployer used to load the native library to tmp/native. I tried to deploy the same sar file in JBoss 5 and it fail to recognize the native library file. Is there another way to deploy a sar file with a native library inside in JBoss 5? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200116#4200116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Jarjared version of JBC3 for using in JBossAS 4.2
Hi, I have made a jar jared version of JBC 3.0.x with JGroups also jarjared for using in a JBoss AS 4.2.x installation. The thing is it didn't work, so I had to use a move refactoring with the sources in eclipse to make it work. I'm in a testing phase, because I'm not very confident it is going to work 100% error free. I have to change a Jgroups class entirely (org.jgroups.conf.MagicNumberReader) to make it work. Is there a test suite that I can use to validate the refactorings and the renamed version of jbc? This would ease my work. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200115#4200115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using remote EJB3 bean from multiple remote versions of
"jaikiran" wrote : See if this version matrix helps http://www.jboss.org/community/docs/DOC-10808 That does help indeed. I now realize I misunderstood the situation: it's not that versions -always- need to match exactly, but there are compatibility ranges. I did notice though that the 2 incompatibilities I found (Jboss 4.2.2 client with Jboss 4.2.3 server, and Jboss 4.2.3 client with Jboss 5 server), are not listed in the matrix. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200112#4200112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
I stumbled into the same problem (and some others) while trying to upgrade. Does this mean that when upgrading to the 3.3 version of jbpm, all process definition with joins need to be changed (lockmode upgrade needs to be added). By default lockmode seems to be 'force' which gives problems with versioned items... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200108#4200108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: invoke operations in jmx console return 403
For anyone else securing the JMX console with LDAP you can add InvokeOpRole to LDAP and use the filter for more fine grained access control. There is a doc with more details here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200107#4200107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: IllegalStateException Cannot find property
OK, I've patched the sources to log that exception (which btw you should have got in the soap fault anyway). This will be available in JBossWS 3.0.6. Did you find the reason of your issue in the mean time? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200103#4200103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Get the tmp path via classLoader.getResource
Hello! When i start my jboss-server i need to get some files from the ear. The old jboss(4.0.5) got the right path with "classLoader.getResource"...the tmp path where i was able to get the file from. The new jboss(5.0.0) get the path where the ear isso i have a path which points into a zip and the method "File" cant read from there. Is there a way to get the tmp path where jboss undeploys the ears so i can get the files from there on every startup ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200099#4200099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I have exactly the same requirement and followed the instructions below. However, the EAR will not deploy onto the exploded configuration. When I select the project and click "Full Publish", the "Publishing to JBoss" breifly flickers but nothing is changed under the deploy directory. Any suggestions ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200097#4200097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
"mputz" wrote : | please try to explicitly set the lock mode on the join: | | and let us know how it works for you. Martin, thanks, this worked. Is this a recommended way of dealing with all joins or is it just a temporary workaround (haven't seen support for it int the designer) ? Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200096#4200096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal 2.6.6 Login Dialog Prboem in IE 6 and IE 7
I needed to fix this on version 2.6.6 on JBoss portal, here is how I solved it. Remove padding on div.login-container and div.login-content in jboss-portal.sar\portal-core.war\css\login.css div.login-container div.login-content { |background-image: url( ../images/modal/login-content-bg.gif ); |background-position: top left; |background-repeat: repeat-x; |width: 255px; |font-weight: bold; |padding: 0px 0 0 0; |text-align: right; | } Set appropriate width on buttons in jboss-portal.sar\portal-server.war\login.jsp " class="cancel-button" onclick="window.parent.hideContentModal('login-modal');"/> | " class="login-button"/> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200093#4200093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm and Business Activity monitoring
Just read the jbpm 3 manual. Basic features and concepts will not change. More detailed things like configurable task management, look of the processdefinitions will. Regarding BAM, there is not much documentation yet, but it will be user-configurable, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200092#4200092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm db size
Hi all. I've a problem with an installation of jbpm that use mysql as persistence db. The db is growing much and in 20 days of work it reached 60 GB of size. The only tables of big dimension are: byteBlock 20GB of tables and 1 GB of index; variableinstance reached 10 GB of size plus 20 GB of indexes. byteArray is very bigger in number of rows , but has not a real big size. I can't truncate the tables, because they contain important information about running process but how can I discover what to delete without clean processes in running state? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200091#4200091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring jmsXA
Hi , I am trying to use jmsXA for my JMS application on JBoss 4.2.3 GA with JBM 1.4.0.SP3 I have made all the necessary changes for configuring JBM with JBoss, and it is working fine. But when i want to use jmsXA . it is giving error jmsxa not bound. | javax.naming.NameNotFoundException: JmsXA | at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155) | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312) | at $Proxy69.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | This is my hajndi-jms-ds.xml | | | | | | | | | | | | DefaultJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | | XAConnectionFactory | | XAConnectionFactory | | XAConnectionFactory | | |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=${jboss.bind.address:localhost}:1100 |jnp.disableDiscovery=false |jnp.partitionName=${jboss.partition.name:DefaultPartition} |jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4} |jnp.discoveryPort=1102 |jnp.discoveryTTL=16 |jnp.discoveryTimeout=5000 |jnp.maxRetries=1 | | | | | | jboss:service=XidFactory | StdJMSPool | | org.jboss.jms.asf.StdServerSessionPoolFactory | | | | | | JmsXA | | jms-ra.rar | org.jboss.resource.adapter.jms.JmsConnectionFactory | javax.jms.Topic | java:/DefaultJMSProvider | 20 | JmsXARealm | | | | Am i missing something ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200089#4200089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - How to receive notification that a Cluster member joined/lef
Hi all ! Is it possible to receive a notification in my MBean that a member of the Cluster joined/left or simply the list of cluster members ? Thanks a lot john View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200087#4200087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using remote EJB3 bean from multiple remote versions of
See if this version matrix helps http://www.jboss.org/community/docs/DOC-10808 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200082#4200082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - MDBs failing to listen to remote topic/queues
Hi, I am trying to configure a remote JMS[JMSServer] and MDB[MDBServer] to talk with topic/queue configured on remote JMS. I followed all steps as specified in http://www.jboss.org/community/docs/DOC-9892. When i start MDBServer, DEBUG logs does indicate that while deploying MDB, it is trying to use the Remote JMS provider I have configured, but the MDB is still listening to local JMS and not the remote JMS. Am I missing something ? I have few more questions related to configuration : - How does MDB knows which connection factory it needs to use to connect to remote destinations ? - Do we need to configue JMS[destinations+connection factories] on MDBServer where MDB is deployed. Quick help/guidance on this is highly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200080#4200080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm and Business Activity monitoring
Thank you for your quick answer. which manual do you think I have to read. The jbpm 4 has several documentations and I don't know which one to start with. "kukeltje" wrote : | 3: What is 'all features' jBPM has a basic set of features with which you can create almost any workflow. In addition it has may ways of extending it, so for a basic impression of the features I would say read the manual a little. If you have more detailed questions, I'm happy to provide answers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200074#4200074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
Dear all, yes, tried the suggestion and all seem to work. Netbeans 6.5 recognize JBoss 5.0.0.GA domains but I already had some problems with library. If you develop a simple applications with entity beans (hibernate), Netbeans is not able to import automatically the libraries (JPA libraries). Probably JBoss 5.0.0.GA has reorganized these libraries under other folders. I solved this problem importing manually the libraries but this is only a work around. Have you other news? Thanks and bye, Giordano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200072#4200072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Code Generation
I generated the code successfully. reveng.xml was generated automatically only. When code generation was not working then I tried different options and finally I got the xml content. Thanks a lot especially for the demo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200061#4200061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Region specific cacheloader ?
You can't. Cache loaders are not defined on a per-region basis. They are cache-wide. You could create separate caches for stuff that is persisted and stuff that is not, though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200058#4200058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unlock jobs, maxLockTime, fault tolerance
Hello everyone, has anyone ever used the maxLockTime, lockMonitorInterval, or lockBufferTime parameters having any effect ? Does anyone know if the LockMonitorThread should be started or if it is a legacy class ? Is there anyway of unlocking jobs, by a different thread that one starting the job without using LockMonitorThread ? Thanks. Jose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200054#4200054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Using remote EJB3 bean from multiple remote versions of Jbos
Hi, I noticed that the Jboss AS client libraries, which are needed for a client to consume among others a remote EJB3 bean hosted by a Jboss AS server, are very specific to a specific version of Jboss AS. E.g. if my client application has the client libraries for Jboss AS 4.2.2, it can not connect to a remote Jboss AS 4.2.3 instance. Likewise, a client that has the client libraries for 4.2.3 can not access a Jboss AS 5 instance. Now my question is, what do I do if 1 application needs to access beans in both a Jboss AS 4.2.3 instance AND a Jboss AS 5 instance? Slightly related to this: is there any way to programmatically detect the version of the client library and the remote server? When there is a mismatch in versions between the client and the server now, I get a very unhelpful bunch of exceptions. I would like to catch these and somehow inform my users about the exact version mismatch. E.g. "This application has been equipped with the Jboss client libraries for Jboss AS 4.2.2. You are however trying to connect to a Jboss AS 4.2.3 server. Please downgrade your server or upgrade your client libraries" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200052#4200052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm and Business Activity monitoring
1: jbpm 4 (well, the new console) provides BAM based on birt and jasperreports. In additions SeeWhy is product that has jBPM integration 2: I don't think so 3: What is 'all features' jBPM has a basic set of features with which you can create almost any workflow. In addition it has may ways of extending it, so for a basic impression of the features I would say read the manual a little. If you have more detailed questions, I'm happy to provide answers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200047#4200047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: dual jbpm context
put 2 jbpm-context in one config file and put a name attribute on each them View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200045#4200045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user