[jboss-user] [JBoss Tools (users)] - Re: JBoss View Error
niranjan - I don't have a javaranch login so can't answer there. But first off: Don't use JBossIDE use JBoss Tools and follow the docs on jboss.org/tools View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203876#4203876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with loader-repository
anonymous wrote : javax.jms.MessageFormatException: ClassNotFoundException: No ClassLoaders found for: com.j4care.ws.emc.documentum.DFSCopyOrder | at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:154) | at com.j4care.ws.emc.documentum.DFSFileCopyService.onMessage(DFSFileCopyService.java:307) | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697) | at java.lang.Thread.run(Thread.java:619) I think in the MBean configuration, you can specify a classpath using the lib folder. Its strange that one of the class is found but not the other. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203875#4203875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 issue on Jboss5
One quick question : I am running the client on Jboss 5. The remote lookup server is still Jboss4. How do i manage this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203872#4203872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 issue on Jboss5
Will check this and revert back Jaikiran. Thanks venu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203871#4203871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: round robin on Jboss 5
Thank you for your reply. Just to set things strait - the 2 options are equivalent? I can either use annotations and then no need to use the xml file, or I add the xml file and then I must declare my ejb in that file? correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203870#4203870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 issue on Jboss5
Looks like you are packaging JBoss-4.x related jboss jar files either in your application or on the client classpath. Your client needs JBoss-5.0 jboss client jar files instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203868#4203868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 issue on Jboss5
Hi all, I am using Jboss 5 and have deployed few ear files. The irony here is that the same build was not throwing this error in JBoss4.0.5. the error i get in Jboss 5 is 00:50:25,535 ERROR [Helper] getClickUrl() Ex: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.IsLocalInterceptor; local class incompatible: stream classdesc serialVersionUID = -3758782076801249473, local class serialVersionUID = 337700910587744646] | javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.IsLocalInterceptor; local class incompatible: stream classdesc serialVersionUID = -3758782076801249473, local class serialVersionUID = 337700910587744646] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:725) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at net.tss.app.utils.Utility.getProductLookupBean(Utility.java:1688) Any idea why ? And how do i fix this ? Some googling took me to some pages where i found that it was an issue in Jboss 4 which was then fixed. Thanks Venu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203867#4203867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalStateException during the launch of que
Hi, Can you tell me why you got so many messages in the storage? is it that your consumer is too slow or else? That will help to investigate it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203865#4203865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Verification of Enterprisebeans failed
Hai all, Jboss is not showing any exception once our application is deployed. The server log is | 09:16:39,984 INFO [Server] Starting JBoss (MX MicroKernel)... | 09:16:39,984 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date= | 200710221139) | 09:16:40,000 INFO [Server] Home Dir: I:\jboss-4.2.2.GA | 09:16:40,000 INFO [Server] Home URL: file:/I:/jboss-4.2.2.GA/ | 09:16:40,000 INFO [Server] Patch URL: null | 09:16:40,000 INFO [Server] Server Name: default | 09:16:40,000 INFO [Server] Server Home Dir: I:\jboss-4.2.2.GA\server\default | 09:16:40,000 INFO [Server] Server Home URL: file:/I:/jboss-4.2.2.GA/server/default/ | 09:16:40,000 INFO [Server] Server Log Dir: I:\jboss-4.2.2.GA\server\default\log | 09:16:40,000 INFO [Server] Server Temp Dir: I:\jboss-4.2.2.GA\server\default\tmp | 09:16:40,000 INFO [Server] Root Deployment Filename: jboss-service.xml | 09:16:40,250 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc. | 09:16:40,250 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc. | 09:16:40,250 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 09:16:40,562 INFO [Server] Core system initialized | 09:16:41,921 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ | 09:16:41,921 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 09:16:42,234 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc | . | 09:16:42,234 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 09:16:42,375 INFO [TransactionManagerService] Starting recovery manager | 09:16:42,437 INFO [TransactionManagerService] Recovery manager started | 09:16:42,437 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 09:16:44,203 INFO [EJB3Deployer] Starting java:comp multiplexer | 09:16:44,468 INFO [STDOUT] no object for null | 09:16:44,484 INFO [STDOUT] no object for null | 09:16:44,484 INFO [STDOUT] no object for null | 09:16:44,500 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType | 09:16:44,515 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType | 09:16:45,812 INFO [NativeServerConfig] JBoss Web Services - Native | 09:16:45,812 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) | 09:16:46,453 INFO [Embedded] Catalina naming disabled | 09:16:46,562 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal perf | ormance in production environments was not found on the java.library.path: C:\WINDOWS\system32;.;C:\ | WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system | 32\wbem;H:\ORACLE9i\bin;C:\Program Files\GnuWin32\bin;D:\Personal\rhino1_6R7;C:\Program Files\QuickT | ime\QTSystem;H:\C-DAC\MedInfo Standards SDK\HL7 SDK-J\Libs;C:\Program Files\Java\jdk1.6.0_06;C:\Ant\ | apache-ant-1.7.1\bin;C:\Program Files\Common Files\Teleca Shared;I:\JDeveloper10g(10.1.2)\jdev1012\j | dk; | 09:16:46,609 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 | 09:16:46,609 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 09:16:46,625 INFO [Catalina] Initialization processed in 169 ms | 09:16:46,625 INFO [StandardService] Starting service jboss.web | 09:16:46,625 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA | 09:16:46,656 INFO [Catalina] Server startup in 38 ms | 09:16:46,734 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war | / | 09:16:47,281 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/inv | oker.war/ | 09:16:47,375 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws- | context.war/ | 09:16:47,437 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-h | ttpil.sar/jbossmq-httpil.war/ | 09:16:47,875 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/conso | le-mgr.sar/web-console.war/ | 09:16:48,156 INFO [MailService] Mail Service bound to java:/Mail | 09:16:48,406 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/ | jboss-ha-local-jdbc.rar | 09:16:48,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/ | jboss-ha-xa-jdbc.rar | 09:16:48,468 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/ | jboss-local-jdbc.rar | 09:16:48,500 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/ | jboss-xa-jdbc.rar | 09:16:48,531 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/ | jms/jms-ra.rar | 09:16:48,546 INFO [RARDeployme
[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.
OK, thanks Manik, I will try it later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203857#4203857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - I lost data in the queue (~6.500.000 rows)?
I pointed out here on the problems during the launch of service queues java.lang.IllegalStateException: Didn't load expected number of references, loaded: 32 expected: 100 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148969 Do I have a chance to restore the service without any loss of information? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203856#4203856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: getCallerPrincipal throws NullPointerException
Please post the entire exception stacktrace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203855#4203855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Should entities bind to JNDI?
anonymous wrote : so doesn't the EJB 3 entity need to be bound in JNDI? The EJB3 entities are no longer beans. They are just plain POJOs managed by the persistence provider (like Hibernate). They will not be bound to the JNDI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203854#4203854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss View Error
Can any one help me on this: http://www.coderanch.com/t/427046/IDEs-Version-Control-other-tools/setting-up-JBoss-with-eclipse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203853#4203853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule, Hibernate JTA transaction & Ajax Request
thanks for the help but i already included this code in the jboss-portlet.xml. There is no problem with "classic" http requests, hibernate sessions are created on requests to a jsf bean method issued from a h!commandButton for example. But the portal'jta transaction is not created when ajax requests are issued from richfaces components like a4j:commandButton. The missing hibernate session is the one used by portal's UserModul to access portal tables such as jbp_user for example. I don't think i can, or i have to create this session, it should be created by the interceptors i think. Maybe i should have a look to this configuration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203851#4203851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: configure Email in JBOSS ESB on a DLQ
Hi, I did not get any clue why the below config is not working.So I tried to write an sendMail MDB and deployed jar in esb server, i fave following error, any help is highly appriciated... Description: I created Message driven bean, EJB jar like this: META-INF/ejb-jar.xml META-INF/jboss.xml some/package/sendmailBeanClass.class some/package/AnotherClass.class using jar:ejb-2.1.jar when i make a jar and deploy in "jbossesb-server-4.3.GA\server\default\deploy" and restart server i get following error. What could be the problem,Any help is appriciated. --- Packages waiting for a deployer --- org.jboss.deployment.deploymenti...@80b76779 { url=file:/C:/jbossesb-server-4.3.GA_demo/jbossesb-server-4.3.GA/server/de fault/deploy/BHQMessage.jar } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jbossesb-server-4.3.GA_demo/jbossesb-server-4.3.GA/server/default/deploy/BHQMessage.jar altDD: null lastDeployed: 1232519910582 lastModified: 1232519910582 mbeans: --- Incompletely deployed packages --- org.jboss.deployment.deploymenti...@80b76779 { url=file:/C:/jbossesb-server-4.3.GA_demo/jbossesb-server-4.3.GA/server/de fault/deploy/BHQMessage.jar } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jbossesb-server-4.3.GA_demo/jbossesb-server-4.3.GA/server/default/deploy/BHQMessage.jar altDD: null lastDeployed: 1232519910582 lastModified: 1232519910582 mbeans: Thanks and Regards, Vasu Syagonda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203850#4203850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ad-hoc one of workflow piece
then use the api to suspend the fisrt process, start the new one and when it finishes, resume the first process View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203849#4203849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: So confused, portal's not making any sense.
This I tried on 2.7.1.GA. I created a new portal called "prabhat" using admin ui. Saw the default security was view-recursive and personalize-recursive for "role unchecked". I made "prabhat" portal the default portal. I signed out as admin. I am taken to the page http://host:8080/portal/portal/prabhat. As you can see there is no "auth" in url and I was able to access it without logging in. I am too tired to dig more but this is a very common use case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203848#4203848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: So confused, portal's not making any sense.
prabhat If you read my original post, you would see that I am not attempting to turn /portal/myportal into /myportal (which I already know I need to change the context setting in jboss-web.xml; I have already done this and the results are consistent with the rest of my findings). Yes, I have already been through all of the documents. My issue is that the urls /portal/myportal do not work at all. When I visit them they always render as default; which seems to imply to me that it's not trying to direct to my portal instead the default portal. the results seem consistent in that if i change the theme on default, these urls show the new theme. as i pointed out, I can find my portal by going to /portal/auth/portal/myportal which implies that it's always going through the auth bracket, even when logged out (in fact, in "my portal" i do not require auth yet when i go to myportal it brings me to the login screen as if it's trying to render my default portal, which does in fact require login. If there is another channel where I should send presales support requests to, for periods during product trials, I'd be happy to hear about it. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203845#4203845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - A serious problem with Tomcat - JBoss - Log4j-1.2.15
Dear all I am running JBoss Application Server 4.3.0 and Log4j-1.2.15 for my application. every times I reload my application by modifying the web.xml My application is down. looking for in the server.log file i get the error message: "log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository" although the application reloads well but every times I access my web pages that use a Log4j object I get the an error message and the Log4j object always return null object! I also study this problem on some links such as https://issues.apache.org/bugzilla/show_bug.cgi?id=40212 http://www.nabble.com/Stop-tomcat-app:-grails-jars-still-locked,-cannot-redeploy-td15724822.html but I could not solve the problem. if you have experience with this problem, please help me to solve it. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203844#4203844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: So confused, portal's not making any sense.
This is a community forum and people are going to respond when they have time. Have you gone through the document first? See the customizing portal section in reference guide on what you need to do access http://host:port/your_portal instead of http://host:port/portal/your_portal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203842#4203842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule, Hibernate JTA transaction & Ajax Request
As for the portlet, in order to have a portlet share in the portal's JTA transaction, you can add the following to your jboss-portlet.xml: | | YourPortlet | | Required | | | Depending on your usage scenario, there are a lot of ways to create hibernate sessions from a servlet. For example, Spring utilizes a servlet filter to bind a Hibernate Session to the thread servicing your request. Though, I'm not sure this is what you want/need to do. I'd be interested to know more about the kind of code you're trying to use in the AJAX servlet and the errors you're seeing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203841#4203841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Message table
you means message table is replaced by jobs table in 3.2? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203839#4203839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - getCallerPrincipal throws NullPointerException
I'am new in JAAS, so I wrote a simple EJB 3 bean to see how it works. @Stateless | @Remote({IGetUserName.class}) | public class GetUserName implements IGetUserName | { | SessionContext sc; | | @Resource | public voidsetSc(SessionContext sc) | { | this.sc = sc; | } | | @Override | public String getUserName() | { | if ( sc==null ) return "Context is null"; | | Principal p = sc.getCallerPrincipal(); | if ( p==null ) return "principal is null"; | | return p.getName(); | } | } | But when I call previous bean NullPointerException was throwed. The environment is : JBoss 5.0.0.GA, jboss was started with the configuration "default". No other changes to the jboss conf files. Does any one have an idea? I have looked around for a long time, but still don't know how to resolve it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203838#4203838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Stranges with message reading from queue
Hi, the receiveNoWait means it doesn't wait until a message is received. You can't expect it will get something every time you called it. If you can get a message by receive(2000), try to replace it with sleeping 2000 ms and call receiveNoWait(). I bet you will get the messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203835#4203835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: So confused, portal's not making any sense.
No one at all? That's sort of disappointing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203833#4203833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - UserModule, Hibernate JTA transaction & Ajax Request
Hi, i have a portlet managing user identity related issues and accessing JBossPortal UserModule. Everything works fine when actions are inside a "classic" http request from the portlet, ex: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203828#4203828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss Web
Hi, I have installed jboss web 2.1.1.GA. I cannot get native libraries to work. In fact, i installed tomcat native libraries susccessfuly on my jboss instances, but cant figure out the problem with jboss web. I get this well-known error: Jan 21, 2009 5:19:35 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/jbossweb/product/jdk1.6.0_10/jre/lib/i386/server:/home/jbossweb/product/jdk1.6.0_10/jre/lib/i386:/home/jbossweb/product/jdk1.6.0_10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib i downloaded native libraries from http://www.jboss.org/jbossweb/downloads/jboss-native/ created a 'native' folder in $JBOSSWEB_HOME/bin. extracted everything from ".../lib/linux2/x64/*" to "$JBOSSWEB_HOME/bin/native". And still, on boot i see the error. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203826#4203826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ad-hoc one of workflow piece
Ronald thanks for the reply & I gotcha on the terminology. I had seen the milestone pattern before but I'm not sure if that meets my need? I don't really know when & where in the process definition the user will need to essentially pause the current execution perform some arbitrarily complex one-off process... and then return execution to their originally definition afterward. I think the disconnect for me is that my one-off process will not be defined in the original process or the flow. Examples For this process definition: start --> task 1 --> task 2 --> node 3 --> task 4 --> end We normally expect for the process instance to be just that. But on some occasions users need to be able to define any process that needs to be executed during only one particular instance of the process definition above. For example... while our token in on task 1 they might say i need the following to execute after node 3 completes but before task 4 starts: task x --> node y --> task z making the execution: start --> task 1 --> task 2 --> node 3 --> (execute sub process above then return) -- > task 4 --> end or maybe for another instance they need the following to execute after task 1 completes but before task 2 starts: task m --> task n --> node o --> node p making the execution start --> task 1 --> (execute sub process above then return) -- > task 2 --> node 3 --> task 4 --> end Ultimately my problem is that not only is in not part of the flow... but really it's not a part of the definition either. It's a one-off process definition that needs to be executed at some point in a process instance (essentially pausing it... and then letting it continue after completion). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203821#4203821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting Default Error Pages
Here's the solution: Edit the web.xml in /opt/jboss-5.0.0.GA/server/default/deployers/jbossweb.deployer by adding 404 /error/error404.html just after Then the html and supporting files (images, css, etc.) go in /opt/jboss-5.0.0.GA/server/default/deploy/ROOT.war/error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203815#4203815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: What is the purpose of the Journal files?
On trunk, the journal-min-files is using 15. The journal is what stores the persistent-message. If you restart the server, we will recover a lot of stuff from our persistent store (the Journal). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203814#4203814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Should entities bind to JNDI?
When I deployed an entity with EJB2/xdoclet I could specify a local-jndi-name in @ejb.bean and it would bind to a JNDI name. How do I do this with EJB 3 annotations? I'm using JBoss 4.2.3GA with no modifications and the first jboss example code from Enterprise JavaBeans 3.0 (Bill Burke/Richard Monson-Haefel). Very basic stuff. I can run the test client just fine. I'm checking the JNDIView bean for the Cabin bean and it's not there, but I can see the TravelAgent session bean. At some point I need to be able to look up my EJB 3 beans from legacy EJB 2 stuff that won't be converted (at least not within a year or so), so doesn't the EJB 3 entity need to be bound in JNDI? JNDI View Global: | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- UserTransactionSessionFactory (proxy: $Proxy15 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple) | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- persistence.units:jar=titan.jar,unitName=titan (class: org.hibernate.impl.SessionFactoryImpl) | +- queue (class: org.jnp.interfaces.NamingContext) | | +- A (class: org.jboss.mq.SpyQueue) | | +- testQueue (class: org.jboss.mq.SpyQueue) | | +- ex (class: org.jboss.mq.SpyQueue) | | +- DLQ (class: org.jboss.mq.SpyQueue) | | +- D (class: org.jboss.mq.SpyQueue) | | +- C (class: org.jboss.mq.SpyQueue) | | +- B (class: org.jboss.mq.SpyQueue) | +- topic (class: org.jnp.interfaces.NamingContext) | | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | | +- testTopic (class: org.jboss.mq.SpyTopic) | | +- securedTopic (class: org.jboss.mq.SpyTopic) | +- console (class: org.jnp.interfaces.NamingContext) | | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean) | +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) | +- TravelAgentBean (class: org.jnp.interfaces.NamingContext) | +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) | Cabin.java | package com.titan.domain; | | import javax.persistence.Entity; | import javax.persistence.Table; | import javax.persistence.Column; | import javax.persistence.Id; | import org.jboss.annotation.ejb.LocalBinding; | | @Entity | @Table(name="CABIN") | public class Cabin implements java.io.Serializable | { | private int id; | private String name; | private int deckLevel; | private int shipId; | private int bedCount; | | @Id | @Column(name="ID") | public int getId() | { | ... persistence.xml | | | java:/DefaultDS | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203811#4203811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Stranges with message reading from queue
Hello I have question about receiveNoWait method. When I use it, it always returns null if I use this code: consumer.receive(2000) - everything is ok. I receive message. BUT if I use this code: consumer.receiveNoWait() - I do not receive any messages, My program must check queue periodically, using quartz - so I don;t want to block process pointing any time to receive() How can I make receiveNoWait() to return messages? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203799#4203799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
for the latest one, isn't this the put: | 17:16:11,769 TRACE [InvocationContextInterceptor] Invoked with command PutKeyValueCommand{fqn=/short | test, dataVersion=null, globalTransaction=null, key=java.lang.obj...@ca88b3, value=java.lang.Object | @d4a2bd} and InvocationContext [InvocationContext{transaction=TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:c status: ActionStatus.ABORT_ONLY >, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheM | odeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravita | tion=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false}, originLocal | =true}] | -- Eduardo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203794#4203794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: both deployment methods fail - WAR and exploded in J5GA
Oops, I gave the link for JDK6, here is the one for JDK5: http://java.sun.com/j2se/1.5.0/manual_install_linux.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203792#4203792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: both deployment methods fail - WAR and exploded in J5GA
The missing plugin is the Java plugin that support runnign applets. To install, see http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html. You did not say if you were running 64-bit or 32-bit Centos. If 32-bit, you are OK. If 64-bit, you will have to uninstall Firefox (assuming you installed the packaged version that came with Centos) and install Firefox from its download site before installing the plugin. The plugin works only with 32-bit browsers (the Firefox download site has only 32-bit browsers, while 64-bit Linux distros usually ship 64-bit browsers). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203790#4203790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Changing scheduled tasks programmatically
Hi there, I have created a scheduled task and can manage it happily through the JMX console, however I have been unable to get to it programmatically. I have tried setting it up as an MBean (as was recommended somewhere else on this site) and cannot access it from other MBeans. I can get the MBeanServer object from JBoss, but still can't figure out how to edit params for my scheduled task. I would like to be able to change the interval of the task on the fly, from my app. How do I get a handle for the scheduled task? Has anyone done this? Thanks! JReifsnyder View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203781#4203781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3.0 Over HTTP Using JBOSS 5
"jaikiran" wrote : This is what you need for JBossAS5 https://www.jboss.org/community/docs/DOC-13276 Thanks for the wiki post regarding AS5. I will give it a try and let you know if I encounter any problems Thanks, Godfrey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203780#4203780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
Is this for the first, or latest code snippet you pasted? I don't see any PUT commands in your log. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203773#4203773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: discarded message from non-member
"bmelloni" wrote : This Connection issue does not go away with the firewall turned off. The two posts are independent problems. | | Let's table this problem. I should get my commercial license credentials today or tomorrow and will use phone support to start over from scratch and reinstall both servers in the cluster according to their instructions instead of what the documentation seems to say. OK. The support team is much better equipped to handle issues that are specific to a particular environment. anonymous wrote : | A suggestion: | - The server config guide is a good reference, but it is worthless as a cluster installation guide unless you are already a jBoss configuration expert. | - There is a need for a simple, step by step guide for installing a basic cluster. | - I might even write it myself and contribute it back after talking to support. Nobody else should suffer through this installation nightmare. Thanks for the input. I've heard similar things before, and basically agree. I'd certainly welcome any contributions, particularly on AS 4.x. I'm rewriting the Clustering Guide for AS 5 and have added some of what you are talking about. A draft of that can be found attached to http://www.jboss.org/community/docs/DOC-12928; comments are welcome. (Note: it's the attached document at the bottom of the page; not the links at the top. I won't bore you with the details as to why). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203772#4203772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remoting 3.0.0 GA available?
As soon as I can. When I do release the protocol JAR(s), it will be a separate download from Remoting proper, so the bundle that is up there will still be valid (and necessary). Hopefully within a week? We'll see how much I can get done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203770#4203770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remoting 3.0.0 GA available?
Thanks for the quick answer!!! When do you plan to release the full feature release? thanks Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203768#4203768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: both deployment methods fail - WAR and exploded in J5GA
mmmkay , but I'm do not have access to the codes now , out of town , perhaps few hours from now I will post the xml here . is the war file problem in my 2nd post also had the same problem ? jaikiran , I begin to suspect the class loading and libraries as the probable culprits after reading your my wiki blog posts . I dont know... -Another question , the JBoss5 GA web console in default mode keep asking me for missing plugin in firefox 3 linux , what is the required plugin? on Centos5.2+jdk5_017+ant1_7 . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203769#4203769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remoting 3.0.0 GA available?
Yes, it's the official release, minus the protocol implementations. I want to get the final version of the protocol implementations out there before I do an official announcement for it (because Remoting without a protocol is basically local-only... not very Remote :)), and hopefully get a good start on the user guide as well. However, if you wish to download it and mess with it, go ahead. The Javadoc is online as well at http://docs.jboss.org/remoting/3.0.0.GA/api/. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203767#4203767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jboss web service client
Hi. i'm using jbossws 2.0 and jboss AS 4.2.2. When accessing from my web application under seam to an web service i got the following exception ...UserName is not a valid property on class com.phi.ws.Test com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:926) org.jboss.ws.metadata.acessor.JAXBAccessor$1$1.create(JAXBAccessor.java:75) org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(ParameterMetaData.java:480) org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(OperationMetaData.java:458) org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations(EndpointMetaData.java:533) org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(EndpointMetaData.java:519) org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointMetaData.java:507) org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:308) org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:262) org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:193) javax.xml.ws.Service.getPort(Service.java:116) com.phi.ws.tesan.mocmeasurements.MOCMeasurements.getMOCMeasurementsSoap(MOCMeasurements.java:50) com.phi.ws.StubBeanMio.queryWSTesanMoc(StubBeanMio.java:52) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27) org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) org.jbo
[jboss-user] [Remoting] - Remoting 3.0.0 GA available?
On this link http://www.jboss.org/jbossremoting/downloads/3.x we can download the version 3.0.0 GA... Is it the official release of the GA version? There nothing about this version on the site. Thanks Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203764#4203764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [size=18][b]subProcessDefinition not found[/b][/size]
I have process that invoke sub process using process state. I test the process with JUnit. When start test it says - ERROR (GraphElement.java:295) - action threw exception: can't create a process instance when processDefinition is null. This is because can't find the sub process definiton. How can I bound sub process definition to parent process definition. This is my code in JUnit test | ProcessDefinition definition = ProcessDefinition | .parseXmlInputStream(new FileInputStream("jpdl\\parent\\processdefinition.xml")); | ProcessDefinition definitionSub = ProcessDefinition | .parseXmlInputStream(new FileInputStream("jpdl\\sub\\processdefinition.xml")); | ProcessState st = (ProcessState)definition.getNode("Sub process Invoke"); | st.setProcessDefinition(definitionSub); | ProcessInstance instance = new ProcessInstance(definition); | instance.signal(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203761#4203761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: discarded message from non-member
This Connection issue does not go away with the firewall turned off. The two posts are independent problems. Let's table this problem. I should get my commercial license credentials today or tomorrow and will use phone support to start over from scratch and reinstall both servers in the cluster according to their instructions instead of what the documentation seems to say. A suggestion: - The server config guide is a good reference, but it is worthless as a cluster installation guide unless you are already a jBoss configuration expert. - There is a need for a simple, step by step guide for installing a basic cluster. - I might even write it myself and contribute it back after talking to support. Nobody else should suffer through this installation nightmare. Thanks for trying to help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203748#4203748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jbossas install from rpm
Personally, I would download the zip file from the JBoss AS download site, and unzip it. I would not use a JBoss AS that was repackaged by someone else. You need a specific download of JBoss AS to work with JDK 6 (to avoid web services issues), how do you know that the one you got from the RPM is the correct one? There must be something wrong with the configuration of the JBoss AS installed via the RPM. But finding that change is going to be difficult - you will have to do file comparisons between what you got from the RPM and what you can download from the JBoss AS download site. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203747#4203747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Migrating EJB3 Code from 4.2 to 5.0 and encountering [J
Yep. * @Remote references a business interface (EJB 3.x View) * is a Remote Component interface (extends EJBObject, an EJB 2.x View) * is the XML equivalent to @Remote * There is no annotation for , we read it in via the return types of @Home create methods. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203746#4203746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - jbossas install from rpm
Hi I just installed jboss on my fedora using some rpm from JPackage Project They use a conf file on /etc/sysconfig/jbossas for setting up jboss java enviroment this is what I have there: JAVA_HOME="/usr/java/jdk1.6.0_11" JAVAPTH="/usr/java/jdk1.6.0_11/jre/bin/java" JBOSSCP="/usr/java/jdk1.6.0_11/lib/" when I start jboss I can see that the java path seems ok jboss12785 1 0 17:07 ?00:00:00 /bin/sh /var/lib/jbossas/bin/run.sh -c default jboss12806 12785 4 17:07 ?00:00:32 \_ /usr/java/jdk1.6.0_11/bin/java -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInt But on the: http://127.0.0.1:8080/jmx-console/ I get org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available any other setup I need to do? thanks in advance -- Jose http://www.liber4e.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203737#4203737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
Trace logs for the last scenario: | 17:16:11,715 INFO [ComponentRegistry] JBoss Cache version: JBossCache 'Naga' 3.0.2.GA | 17:16:11,737 TRACE [ComponentRegistry] Testing if invocations are allowed. | 17:16:11,737 TRACE [InvocationContextInterceptor] Invoked with command GetNodeCommand{fqn=/} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false}, originLocal=true}] | 17:16:11,738 TRACE [InvocationContextInterceptor] Setting up transactional context. | 17:16:11,739 TRACE [InvocationContextInterceptor] Setting tx as TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING > and gtx as null | 17:16:11,740 TRACE [TxInterceptor] local transaction exists - registering global tx if not present for Thread[main,5,jboss] | 17:16:11,740 TRACE [TxInterceptor] Associated gtx in txTable is null | 17:16:11,746 TRACE [TransactionTable] created new GTX: GlobalTransaction::1, local TX=TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING > | 17:16:11,746 TRACE [TxInterceptor] Registering sync handler for tx TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING >, gtx GlobalTransaction::1 | 17:16:11,749 TRACE [TxInterceptor] registering for TX completion: SynchronizationHandler(TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::1, tx=com.arjuna.ats.internal.jta.transaction.arjunacore.transactionim...@1322016)) | 17:16:11,751 TRACE [MVCCNodeHelper] Node / is not in context, fetching from container. | 17:16:11,751 TRACE [CallInterceptor] Executing command: GetNodeCommand{fqn=/}. | 17:16:11,752 TRACE [GetNodeCommand] Found node, returning UnversionedNode[ /] | 17:16:11,752 TRACE [MVCCLockingInterceptor] Nothing to do since there is a transaction in scope. | 17:16:11,752 TRACE [InvocationContextInterceptor] Resetting invocation-scope options | 17:16:11,752 TRACE [ComponentRegistry] Testing if invocations are allowed. | 17:16:11,754 TRACE [InvocationContextInterceptor] Invoked with command GetNodeCommand{fqn=/short test} and InvocationContext [InvocationContext{transaction=TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING >, globalTransaction=GlobalTransaction::1, transactionContext=TransactionEntry | modificationList: null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false}, originLocal=true}] | 17:16:11,754 TRACE [InvocationContextInterceptor] Setting up transactional context. | 17:16:11,754 TRACE [InvocationContextInterceptor] Setting tx as TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING > and gtx as GlobalTransaction::1 | 17:16:11,754 TRACE [TxInterceptor] local transaction exists - registering global tx if not present for Thread[main,5,jboss] | 17:16:11,754 TRACE [TxInterceptor] Associated gtx in txTable is GlobalTransaction::1 | 17:16:11,754 TRACE [TxInterceptor] Transaction TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING > is already registered. | 17:16:11,754 TRACE [MVCCNodeHelper] Node /short test is not in context, fetching from container. | 17:16:11,754 TRACE [CallInterceptor] Executing command: GetNodeCommand{fqn=/short test}. | 17:16:11,754 TRACE [GetNodeCommand] Node of type [NullMarkerNode] found but marked as deleted in current scope. Returning null. | 17:16:11,754 TRACE [MVCCLockingInterceptor] Nothing to do since there is a transaction in scope. | 17:16:11,754 TRACE [InvocationContextInterceptor] Resetting invocation-scope options | 17:16:11,755 TRACE [NodeInvocationDelegate] Child is null; creating. | 17:16:11,755 TRACE [ComponentRegistry] Testing if invocations are allowed. | 17:16:11,756 TRACE [InvocationContextInterceptor] Invoked with command PutDataMapCommand{fqn=/short test, dataVersion=null, data=null, globalTransaction=null, erase=false} and InvocationContext [InvocationContext{transaction=TransactionImple < ac, BasicAction: -53e0fec0:ddd5:49775859:9 status: ActionStatus.RUNNING >, globalTransaction=GlobalTransaction::1, transactionContext=TransactionEntry | modificationList: null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false}, originLocal=true}] | 17:16:11,756 TRACE [InvocationC
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Sharing Sessiions between multiple WARs
Hello, I have been doing goolge search after google search and can not find a simple answer to my problem. I am creating an Enterprise Application (EAR) that will contain around nine different Web Applications (WAR) as well as various EJB's but I need to have a single login point and the login information needs to be shared between the various different Web Applications. We would like to split the application up into different Web Applications because this is going to be the central administrative tool for company and will be very large (and hard to manage) if we tried to put everything in one WAR. We will be using JBoss AS 5, Java EE 5, JSF, EJB 3.0. Any help or advice would be greatly appreciated. Thanks. Jon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203734#4203734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - How CCM work?
Regarding to issue https://jira.jboss.org/jira/browse/JBAS-6394 . I would like to known more detail about 1. how the JBoss value or interceptor notify CCM of the new transactional? 2. What CCM do after the notification? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203732#4203732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploying multiple ears with
@jaikiran Thanks for your answer. It was a little bit circumstantial, as there are some struggles with the current maven ear plugin, but that was finally the solution Now it works!! Thanks! Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203724#4203724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Login
Hi, this is my jsp page and i just print the exception, it gives me null. You might be using the error jsp page in your application to catch some of the exceptions which might be thrown inside the jsp pages. But, in my case the exception is being thrown by the ServerDatabaseLoginModule and which is not reaching till the error jsp page. I will check your suggestion of Tomcat Valve. Thanks a lot. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> http://www.w3.org/TR/html4/loose.dtd";> <%@ page isErrorPage="true" import="java.io.*" %> Insert title here exception object <%=exception%> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203723#4203723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm in JBoss
anonymous wrote : https://jira.jboss.org/jira/browse/JBPM-1914?focusedCommentId=12442428#action_12442428 this has nothing to do with transaction ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203719#4203719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Iphone MobileSafari error on render Portal layouts
Thank you very much Andy. Your remarks were very helpful. After reading Portlet Specification I realized the wrong structure we used, but we ship our product with Firefox and never there was a problem with it. But MobileSafari is a little more "delicate". Thank you one more time. Frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203717#4203717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Using a Struts action within login.jsp in jboss-portal.sar
Hi, I'm trying to use a Struts Action as part of the login sequence of the portal. I've got it all working fine - the Struts libs are in the jboss-portal.sar lib folder, and our portal application ear (has to be) is dependent on them. Unforunately this means the wars in the ear utilised the Struts i8n properties etc from the jboss-portal.sar config, and not individually as they should. We don't want to have to copy the properties files over the jboss installation everytime we do a deploy - we expect the properties to be contained within the war (in the ear). Firstly - why is it that the sar's classpath interfere's with that of the ear's war. Secondly, is there any way around this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203716#4203716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: discarded message from non-member
Your "ConnectionTable" logging: | 09:02:22,093 WARN [ConnectionTable] peer closed connection, trying to re-send msg | 09:02:22,093 ERROR [ConnectionTable] 2nd attempt to send data failed too is coming from the JBoss Messaging Data Channel. That channel uses TCP unicast for sending messages, unlike the other channels that use UDP multicast. Farming doesn't use that channel; it uses a different one, the UDP multicast-based one from cluster-service.xml. So, two separate channels using different underlying protocols are experiencing problems, which sounds to me like a network or host configuration problem. Hard to say what; if resolving the firewall issues you raise in a separate thread make it go away, there's your answer. See also http://www.jboss.org/community/docs/DOC-12375 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203715#4203715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: create a region which will not be stored
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200043#4200043 it seems like it's impossible. thanks anyway View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203714#4203714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error setup with both MySQL and Hypersonic
Yes that is one thing (should be a jira issue for this afaik), but I had changed that manually. My problem originated in the use of the mysql 5.1.6 driver, the 5.1.7 driver does not have that problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203711#4203711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: create a region which will not be stored
thanks for replying quickly, I need the JDBC Cache Loader for other regions, should I create a cachLoader for each region? it doesn't sound good I guess. ig View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203710#4203710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting Default Error Pages
Try server/default/deployers/jbossweb.deployer/web.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203709#4203709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Large Jbpm Variables Slow System Down
exactely like I always do it... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203708#4203708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Message table
the jobs table afaik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203706#4203706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem with simple helloworld...PLZ HELP ME
Looks like one of your portlet descriptors is incorrect. Please post porlet.xml, portlet-instances.xml and *-object.xml. When posting XML text or source code, please enclose the text in UBBCode "code" tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203704#4203704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JBoss Logging
Please help me it is urgent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203703#4203703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: MBean depends on a stateless EJB
Hello, I am not confident with the JBoss classes, so I tried a similar example with standard MBeans. Using the @Depends annotation, it did not work. So I used the standard jboss-service.xml with the following content: | | | | | jboss.j2ee:jar=CalculationEJB.jar,name=AdditionBean,service=EJB3 | | | That way, my MBean waited for the EJB to be deployed. Please note: This notation works for JBoss 5.0.0 GA, maybe you have to adapt it a little. Hope that helped a little... cheers, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203702#4203702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Migrating EJB3 Code from 4.2 to 5.0 and encountering [J
Sorry. This post has ended up a little confusing. [JBMETA-130] Was the error I got when trying to get EJB3 Session beans migrated from 4.2.x to 5.0.0 GA. In my case I was NOT trying to be EJB2.x compliant. If you have this problem, check these items: 1. Make sure @Local and @Remote use a different interface. 2. Make sure any beans referenced in ebj-jar.xml file use the tag instead of the and use instead of View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203701#4203701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: round robin on Jboss 5
"yairogen" wrote : No, I don't use this annotation. Trying to add it gave me errors as I recall. This should be added on the bean class and not the interface, right? Correct. anonymous wrote : I haven't tried adding the clustered true node in the jboss.xml file. I don't have such a file. | Are you referring to the "standardjboss.xml" file? | | If yes, where do I add this node? If not which file are you referring to? The jboss.xml file is the jboss-specific deployment descriptor that you add to your EJB jar's META-INF directory. The schema can be found in the docs/schema/jboss_5_0.xsd file in your JBoss AS distribution. A simple example: | | http://www.jboss.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; | version="3.0"> | | | ExampleStateful | ExampleStatefulRemote | true | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203699#4203699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - file transfer via SOAP and RPC
hi folks, I'm trying to write a webservice which is capable of receiving and sending files, for JBoss 5 GA. So I'm quite new to webservices and jboss, thus I`ve got a few problems concerning this matter. I`m quite sure that I need to use attachments to the soap message, but the question is how to do that? I tried something using MTOM/SwaRef like it stand here: http://jbossws.jboss.org/mediawiki/index.php/JAX-WS_User_Guide#Attachments but the code fragments are a bit short, thus I wasn't able to see how I actually attach the files and retrieve them from the attachment I tried the following: Interface IFileTransfer: | @WebService(targetNamespace = "http://server/";) | @SOAPBinding(style = SOAPBinding.Style.RPC, parameterStyle = SOAPBinding.ParameterStyle.BARE) | @BindingType(value="http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true";) | public interface IFileTransfer extends java.rmi.Remote { | | @WebMethod | DocumentPayload beanAnnotation(DocumentPayload payload) ; | } | Implementation FileTransfer: | @WebService(name = "FileTransfer", | serviceName = "FileTransferService", | portName = "FileTransfer", | endpointInterface = "remote.IFileTransfer") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class FileTransfer implements IFileTransfer { | | @WebMethod | public DocumentPayload beanAnnotation(DocumentPayload payload) { | | System.out.println(payload.getData().getContentType()); | //do something cool with the data | return payload; | } | } | DocumentPayload: | package remote; | | import javax.activation.DataHandler; | import javax.xml.bind.annotation.XmlAttachmentRef; | import javax.xml.bind.annotation.XmlElement; | import javax.xml.bind.annotation.XmlRootElement; | | @XmlRootElement | public class DocumentPayload | { |private DataHandler data; | |public DocumentPayload() |{ |} | |public DocumentPayload(DataHandler data) |{ | this.data = data; |} | |@XmlElement |@XmlAttachmentRef |public DataHandler getData() |{ | return data; |} | |public void setData(DataHandler data) |{ | this.data = data; |} | } | and on client side: | QName serviceName = new QName("http://server/";, "FileTransferService"); | Service service = Service.create(new URL("http://127.0.0.1:8080/SOAP-test?wsdl";), serviceName); | IFileTransfer port = service.getPort(IFileTransfer.class); | | // enable MTOM | SOAPBinding binding = (SOAPBinding)((BindingProvider)port).getBinding(); | binding.setMTOMEnabled(true); | DataHandler data = new DataHandler(new File("/opt/test.dat").toURI().toURL()); | DocumentPayload dp = (DocumentPayload)port.beanAnnotation(new DocumentPayload(data)); | hopefully you understand my problem and can give some good advices mendret View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203697#4203697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Migrating EJB3 Code from 4.2 to 5.0 and encountering [J
I actually found the problem. It was caused by my ejb-jar.xml entries My entries were something like this: | | | | PropertyService | com.emageon.properties.service.PropertyService | | com.emageon.properties.service.ejb.PropertyServiceBean | | Stateless | Container | | | The tags need to be changed to . Here is the corrected content. | | | | | PropertyService | com.emageon.properties.service.PropertyService | | com.emageon.properties.service.ejb.PropertyServiceBean | | Stateless | Container | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203691#4203691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Error Creating Seam Portlet
Found it by my self :) Thanks for the help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203689#4203689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: non-HTTP Request Exception on a simple request
The exception stack trace you posted, was it displayed in your browser? If so, there should be a corresponding exception stack trace in the console log, please post that. Also, please post the source code for your servlet and for the web.xml file. When posting XML text or source code, enclose them in UBBCode "code" tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203688#4203688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: create a region which will not be stored
When you say stored in a DB, are you referring to a JDBC Cache Loader? If so, then just don't configure one!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203687#4203687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
Eduardo, Your debug logs don't have any debug messages from JBoss Cache after your transaction starts. This is very odd. Could you perhaps try TRACE level logging for JBC? Cheers Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203686#4203686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process variable persistance
cause now I cannot 'see' what is going on and do I need to analyse the jBPM code... If you have a unit test I can turn on the debuglevel, run the test and see what is going on. btw, you canb do both yourself if you do not want the help (=not wanting to make a unit test) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203684#4203684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is correctly modified to use the configured https p
Annotations on EJB3 Web service class like this provided us with expected results - soap address was HTTPS, regardless of way of accessing WSDL (http/https). serverAuthPolicy is policy we have configured. | @WebService(serviceName = "zz", | name="zz", | portName="zzPort", | targetNamespace ="http://www.zz.com/zz";) | @SecurityDomain("serverAuthPolicy") | @PermitAll | @WebContext( | authMethod="CLIENT-CERT", | transportGuarantee="CONFIDENTIAL", | contextRoot="ContextRoot", | secureWSDLAccess=false | ) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203680#4203680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JBoss Logging
Actually my problem is i have to filter the logs into different log files according to the different JNDI names(databases).Means different log message of different database(JNDI) logs to different files .Can i do it without making any log4j.xml file ,by making any change to binding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203679#4203679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Hibernate exception in: at org.jbpm.command.TaskInstanceEndC
I got an exception from the taskInstanceEnd command. Is it a bug in the taskInstanceEnd command ? The stack trace: Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.taskmgmt.def.Task.events, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:151) at org.hibernate.collection.PersistentMap.get(PersistentMap.java:146) at org.jbpm.graph.def.GraphElement.getEvent(GraphElement.java:88) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:180) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.taskmgmt.def.Task$$EnhancerByCGLIB$$aa2f6f53.fireEvent() at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:452) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393) at org.jbpm.command.TaskInstanceEndCommand.execute(TaskInstanceEndCommand.java:70) I got simmilar exception when i tried to get taskInstanceVariable (getTaskInstanceCommand without includeAllVariables=true). But there isn't includeAllVariables property in the TaskInstanceEndCommand object. Thx, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203677#4203677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: bean undeployment in server (as5/jboss mc) shutdown
My bad, I missed the async execution in another thread of part of the shutdown code, which means the undeployer thread was proceding with the server shutdown. Thanks Ales :-) -- Eduardo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203671#4203671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Error Creating Seam Portlet
Same here with Portal 2.7.1, nightly Tools and (this maybe the problem) with Seam 2.0.2 and not 2.0.3 it will run! But maybe your are so friendly and can help me with a little problem. When deploying a new project, deleting the project and creating a new project with the same name - I still have the old Portal Page without content. In other words: If I undeploy a portal project, the page still exits and I cant overwrite these pages (same with the JSF Portal Projects). So how can i delete these old pages ? I didnt found anything in the portal files and i deleted the project foldes in server\deploy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203670#4203670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Is it possible to exceed MaxSize of bean pool
Maybe i do not understand "MaxSize" attribute? Is it good idea to put it into JIRRA as error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203666#4203666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sequence ID generator - Advice sought
Hi! Maybe this is not exactly what you want, but you could use the UUID generator for that. UUIDs aren't simple numbers, they are generated using different kind of information. The generator generates a new, random id on every call, so there is no problem in clustered environments. Considering its size (128 bit per id), it is very unlikely that the same uuid is generated twice. Have a look at >>> http://www.jboss.org/community/docs/DOC-11223 <<<, if you want to learn more. cheers, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203665#4203665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL is correctly modified to use the configured https p
Thanks for the suggestion. We had the opportunity to test out the suggestion, but it is still setting the SOAP address location to be HTTP instead of HTTPS. We made the web.xml changes as described in the Wiki link -- this had no discernible impact on the generated SOAP address location in the WSDL. It still uses a regular HTTP address when generating the service URL. We did confirm that the new web.xml was being deployed, as this file was made available through the temporary expansion of the EAR file created when deploying the web service. Despite the change, we are still seeing an HTTP address being generated. Are there any other SSL configuration resources available that discuss this issue? We've scoured most of the web resources and haven't found anything, but are curious to see if there's anything else that may be helpful. --Rich. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203664#4203664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: What could cause a null Endpoint?
Also, as expected, a check in the jbossws services console also shows that the endpoint is not registered. This should be handled under the covers by the container, no? Anyone have any idea? Should I move this to the JBossWS-CXF forum? I didn't realize there were additional forums for the specific stacks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203662#4203662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Using JBoss on IBM JDK
Does this still apply? We're using Jboss 4.2.1 GA. Can we not run that on IBM's jdk that supports 1.6? We use Sun's jdk 1.6 and it works. Do we need to upgrade our jboss version to use IBM's jdk 1.6? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203660#4203660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem with sending Email from jBoss
Hi! In one of my lasts projects I wrote an MDB, which reads text messages from a queue and sends mails to some my mail account. Maybe this helps you a little. First of all, you have to set up the JBoss mail service in server//deploy/mail-service.xml. You need to specify the connection properties to the mail server which is used. Secondly you write the code to send a mail, for example: // who should receive the mail | Address[] to = InternetAddress.parse("d...@java.sun.com,ho...@simpson.net", false); | | // create a simple text message | javax.mail.Message message = new MimeMessage(session); | message.setFrom(); | message.setRecipients(javax.mail.Message.RecipientType.TO, to); | message.setSubject("Mail subject goes here"); | message.setSentDate(new Date()); | message.setText("java mail rocks!"); | | // ... and send it | Transport.send(message); That's it it :-) If you do not specify the "from" property, the default value defined in mail-service.xml is used. Hope that helped! Keep asking, if you have any problems. cheers, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203659#4203659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remoting 2.4.0.GA is now available
Hi Ron or others, Can you please answer my question? Appreciate your help. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203657#4203657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JBoss Logging
Since the app server first configures logging and at a later point of time does the jndi bindings, i don't think you will be able to lookup the object from JNDI when the log4j is being initialized. I guess, you could try packaging your own log4j.xml inside you application and then use your custom class in that xml file. This way, by the time your log4j.xml is loaded (when you application is deployed and accessed) the JNDI bindings will be done. You might want to see this post to understand how you can package the log4j.xml in your app http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128979#4125416 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203656#4203656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Exception when deploying a project created by the JSF po
@max.ander...@jboss.com Sorry I posted short after you - I the forum didnt show me you post. @snjeza Big thanks! I set up all tools again, used the nightly build and installed Portal 2.7.1 - and now it works. But with my old 2.7.0 and latetest JBoss Tools stable release it wouldn't run. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203655#4203655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203655 ___ 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
For both classes (originalRpcManager and rpcManager) we get a dynamic easy mock proxy instance of the same type: $Proxy20 The toString yields: EasyMock for interface som.org.jboss.cache.RPCManager I hope this can help, Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203653#4203653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploying multiple ears with
anonymous wrote : It seems as if this class will be loaded only once and the first deployment wins. In such cases, you will have to load that class again through a separate classloader. Something along these lines: * Package all the relevant and correct version of hibernate jar files with your application ears. You can place them in EAR/lib folder. Each ear should package these jars. * Package the hibernate.properties in each EAR. Place that file wherever they are now (at the root of EAR?) * Configure scoped classloading for each of the EAR through jboss-app.xml. https://www.jboss.org/community/docs/DOC-9288. Ensure that the jboss-app.xml contains a unique loader-repository name for each of the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203652#4203652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - how to get principal from Entity
I know the more accepted pattern is to not have logic into the entity. However I am performing the migration of an application from EJB2 to EJB3 where there is logic into the entities. In my old entity bean (not session bean), I have code that call getCallerPrincipal from the EntityContext. I have tried, using @Resource, to inject EntityContext but I got a null value. Is there a way to access the callerPrincipal from entity in EJB3. Thank you very much for your help, An Phong Do View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203647#4203647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Deploying multiple ears with
Thanks for the idea. I´m currently using the hibernate jars from the /server/default/lib directory and no further jars are included in my ear. Unfortunatley the "UseJBossWebLoader" does not have any effect on this. But maybe this is because it is not an web application, but an ear containing one jar with Entity-classes and one jar with the server-ejb3-sessionbeans. Any other idea? Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203646#4203646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3.0 Over HTTP Using JBOSS 5
This is what you need for JBossAS5 https://www.jboss.org/community/docs/DOC-13276 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203645#4203645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: bean undeployment in server (as5/jboss mc) shutdown
"emmartins" wrote : so when should this bean run the shutdown code currently in StandardMBean.stop() so the other it depends is still full functional? :) I don't understand what you mean? You're probably missin ',' before "in"? "emmartins" wrote : so when should this bean run the shutdown code currently Dunno, it's your service. ;-) The lifecycle: instantiated - configured - create/destroy - start/stop Injection --> configured "emmartins" wrote : in StandardMBean.stop() so the other it depends is still full functional? The order of undeploy is: - undeploy my dependencies - undeploy me Hence the "the other it depends" should be still fully finctional (installed). See AbstractController::uninstallContext. And re-check the mock test, I did some small modifications. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203644#4203644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
| | public void begin() throws SystemException { | | Transaction tx = getTransaction(); | | // check there is no transaction | if (tx != null) { | throw new SystemException("Transaction already started, cannot nest tx. Ongoing Tx: "+ tx); | } | | // begin transaction | try { | transactionManager.begin(); | } catch (NotSupportedException e) { | throw new SystemException("Failed to begin transaction." + e); | } | | tx = getTransaction(); | | if (logger.isDebugEnabled()) { | logger.debug("Transaction started: "+tx); | } | | // register for call-backs | try { | tx.registerSynchronization(new SynchronizationHandler(tx)); | } catch (RollbackException e) { | throw new SystemException("Unable to register listener for created transaction. Error: "+e.getMessage()); | } | } | | public void commit() throws SystemException { | | Transaction tx = getTransaction(); | | if (tx == null) { | throw new SystemException( | "Failed to commit transaction since there is no transaction to commit!"); | } | | if (getRollbackOnly()) { | if (logger.isDebugEnabled()) | logger | .debug("Transaction marked for roll back, cannot commit, ending with rollback: " | + tx); | rollback(); | } else if (tx.getStatus() == Status.STATUS_ACTIVE) { | try { | transactionManager.commit(); | if (logger.isDebugEnabled()) | logger.debug("Committed tx "+tx); | } catch (Exception e) { | throw new SystemException("Failed to commit tx " + tx + ". Error: " | + e.getMessage()); | } | } else { | throw new SystemException( | "Failed to commit transaction "+tx+" since state is " | + tx.getStatus()); | } | } | | | public boolean getRollbackOnly() throws SystemException { | | Transaction tx = getTransaction(); | | if (tx == null) { | throw new SystemException("no transaction"); | } | | return tx.getStatus() == Status.STATUS_MARKED_ROLLBACK; | } | | public Transaction getTransaction() { | | if (transactionManager != null) { | try { | return transactionManager.getTransaction(); | } catch (SystemException e) { | throw new RuntimeException( | "Failed to obtain active JTA transaction"); | } | } | else { | throw new RuntimeException("tx manager unavailable"); | } | } | | | public void rollback() throws SystemException { | | Transaction tx = getTransaction(); | | if (tx == null) { | throw new SystemException( | "Failed to rollback transaction since there is no transaction to rollback!"); | } | | if (!((tx.getStatus() != Status.STATUS_ACTIVE) || (tx.getStatus() != Status.STATUS_MARKED_ROLLBACK))) { | throw new SystemException( | "Failed to rollback transaction since transaction is in state: " | + tx.getStatus()); | } | | transactionManager.rollback(); | | if (logger.isDebugEnabled()) { | logger.debug("Rollbacked tx "+tx); | } | } | | public void setRollbackOnly() throws SystemException { | | if (transactionManager != null) { | transactionManager.setRollbackOnly(); | if (logger.isDebugEnabled()) |
[jboss-user] [JBoss Messaging] - Re: What is the purpose of the Journal files?
Yes this is configurable, see the main config file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203637#4203637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user