[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: failed to start JBOSS 5.0
anonymous wrote : jdk jrockit-R26.0.0-jdk1.5.0_04 Would it be possible for you try with a Sun JDK 1.5 to see if it works? Also please post the initial few lines for the console logs, similar to these: = | | JBoss Bootstrap Environment | | JBOSS_HOME: /opt/jpai/jboss-5.0.0.GA | | JAVA: /home/jpai/Java/JDK-1.5/jdk1.5.0_17/bin/java | | JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true | | CLASSPATH: /opt/jpai/jboss-5.0.0.GA/bin/run.jar:/home/jpai/Java/JDK-1.5/jdk1.5.0_17/lib/tools.jar | | = | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208080#4208080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Errors on startup of Jboss 5 with ordinary user
JBoss creates temp directories and files under $JBOSS_HOME/server/< serverName>/tmp folder. On my system i have set write permission to non-root user for the entire hierarchy of folders in $JBOSS_HOME. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208079#4208079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - failed to start JBOSS 5.0
Hi, I've been running Jboss 4.0.4-GA for years without any problem. recently i tried to run a Jboss 5.0.0-GA on server ia64, jdk jrockit-R26.0.0-jdk1.5.0_04 on Redhat Enterprise Linux 4 but the Jboss 5.0.0-GA just failed to boot with minimal configuration. I've set the JAVA_HOME to the correct path of the JDK. At this point of time, i've yet migrated my application from 4.0.4 to 5.0.0. I just want to start a plain Jboss server but still failed. Below is the boot.log: 15:14:55,887 INFO [ServerImpl] Starting JBoss (Microcontainer)... 15:14:55,915 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714) 15:14:55,916 DEBUG [ServerImpl] Using config: org.jboss.bootstrap.baseservercon...@294cec 15:14:55,916 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl 15:14:55,916 DEBUG [ServerImpl] Server loaded through: org.jboss.system.NoAnnotationURLClassLoader 15:14:55,917 INFO [ServerImpl] Bootstrap URL: null 15:14:55,917 INFO [ServerImpl] Home Dir: /home/proton-edar/jboss-5.0.0.GA 15:14:55,917 INFO [ServerImpl] Home URL: file:/home/proton-edar/jboss-5.0.0.GA/ 15:14:55,918 INFO [ServerImpl] Library URL: file:/home/proton-edar/jboss-5.0.0.GA/lib/ 15:14:55,920 INFO [ServerImpl] Patch URL: null 15:14:55,921 INFO [ServerImpl] Common Base URL: file:/home/proton-edar/jboss-5.0.0.GA/common/ 15:14:55,921 INFO [ServerImpl] Common Library URL: file:/home/proton-edar/jboss-5.0.0.GA/common/lib/ 15:14:55,922 INFO [ServerImpl] Server Name: minimal 15:14:55,922 INFO [ServerImpl] Server Base Dir: /home/proton-edar/jboss-5.0.0.GA/server 15:14:55,922 INFO [ServerImpl] Server Base URL: file:/home/proton-edar/jboss-5.0.0.GA/server/ 15:14:55,924 INFO [ServerImpl] Server Config URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/conf/ 15:14:55,924 INFO [ServerImpl] Server Home Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal 15:14:55,924 INFO [ServerImpl] Server Home URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/ 15:14:55,925 INFO [ServerImpl] Server Data Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/data 15:14:55,926 INFO [ServerImpl] Server Library URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/lib/ 15:14:55,926 INFO [ServerImpl] Server Log Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/log 15:14:55,927 INFO [ServerImpl] Server Native Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp/native 15:14:55,927 INFO [ServerImpl] Server Temp Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp 15:14:55,927 INFO [ServerImpl] Server Temp Deploy Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp/deploy 15:14:55,949 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss] 15:14:55,994 DEBUG [KernelFactory] Starting JBoss Kernel construction... 15:14:56,150 DEBUG [ServerImpl] Failed to start java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156) at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99) at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67) at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:114) at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83) at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:107) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run()V(Unknown Source) Caused by: java.lang.ArrayIndexOutOfBoundsException at org.jboss.reflect.plugins.MethodInfoImpl.(MethodInfoImpl.java:103) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.(ReflectMethodInfoImpl.java:78) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:211) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:200) at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:198) at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:394) at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getMethods(AbstractBeanInfoFactory.java:231) at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:152) at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:124) at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:69) at org.jboss.kernel.plugins.config.Abstra
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Server crashes when uploading images to ebay
Hi Wolfgang Knauf, Thanks for your reply. Here is the error that I got. This is | # | # An unexpected error has been detected by HotSpot Virtual Machine: | # | # SIGSEGV (0xb) at pc=0xf794dcd1, pid=8437, tid=755035024 | # | # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode) | # Problematic frame: | # V [libjvm.so+0x3c9cd1] | # | | --- T H R E A D --- | | Current thread (0x088ddf60): JavaThread "CompilerThread1" daemon [_thread_in_native, id=8448] | | siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x | | Registers: | EAX=0x, EBX=0xf7b2f7f0, ECX=0x2d00cc50, EDX=0x2a4b4b84 | ESP=0x2d00cbc4, EBP=0x2d00cbe8, ESI=0x2a4b5d08, EDI=0x2d00cc50 | EIP=0xf794dcd1, CR2=0x, EFLAGS=0x00010212 | | Top of Stack: (sp=0x2d00cbc4) | 0x2d00cbc4: 2d00d200 2d00d210 f794dc16 2bf0ec10 | 0x2d00cbd4: 2bf0ec30 2d00cc08 f7b2f7f0 2a4b5d08 | 0x2d00cbe4: 2a4b5cd4 2d00cc18 f794dd75 2a4b607c | 0x2d00cbf4: 2a4b4b84 2a4b607c 2d00cc50 2a4b60e0 | 0x2d00cc04: 2bf0eae4 2a4b5cd4 f7b2f7f0 2a4b607c | 0x2d00cc14: 2d00cc78 f794e258 2a4b607c | 0x2d00cc24: 2a4b5d08 2a4b607c 2d00cc50 | 0x2d00cc34: 2a4b6ae0 2d00cc78 f79d2bf1 2bf0eae4 | | Instructions: (pc=0xf794dcd1) | 0xf794dcc1: 10 eb de 31 c0 eb 8e 8b 42 04 83 ec 0c 8b 40 08 | 0xf794dcd1: 8b 08 50 ff 51 28 83 c4 10 e9 48 ff ff ff 90 55 | | Stack: [0x2cf8e000,0x2d00f000), sp=0x2d00cbc4, free space=506k | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | V [libjvm.so+0x3c9cd1] | V [libjvm.so+0x3c9d75] | V [libjvm.so+0x3ca258] | V [libjvm.so+0x4511fd] | V [libjvm.so+0x450e90] | V [libjvm.so+0x1a11c0] | V [libjvm.so+0x19e432] | V [libjvm.so+0x1474b3] | V [libjvm.so+0x1a6929] | V [libjvm.so+0x1a6281] | V [libjvm.so+0x4c8366] | V [libjvm.so+0x4c2ba3] | V [libjvm.so+0x424338] | C [libpthread.so.0+0x545b] | | | Current CompileTask: | opto: 19% ! com.informission.sc.web.store.upload.ZipUploadHandler.sendZipFile(Ljava/lang/String;Lcom/informission/sc/bo/StoreFrontAccount;)V @ 259 (431 bytes) | | | --- P R O C E S S --- | | Java Threads: ( => current thread ) | 0x092550f8 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=8625] | 0x08b71da0 JavaThread "http-0.0.0.0-8443-3" daemon [_thread_blocked, id=8576] | 0x293d0f98 JavaThread "http-0.0.0.0-8080-2" daemon [_thread_blocked, id=8575] | 0x08e95cd8 JavaThread "http-0.0.0.0-8443-2" daemon [_thread_in_native, id=8574] | 0x09275df0 JavaThread "http-0.0.0.0-8443-1" daemon [_thread_in_native, id=8493] | 0x2b1277d0 JavaThread "http-0.0.0.0-8443" daemon [_thread_in_native, id=8492] | 0x28ed0828 JavaThread "TP-Monitor" daemon [_thread_blocked, id=8491] | 0x2aac35a0 JavaThread "TP-Processor4" daemon [_thread_in_native, id=8490] | 0x29ef5158 JavaThread "TP-Processor3" daemon [_thread_blocked, id=8489] | 0x2a1f0c18 JavaThread "TP-Processor2" daemon [_thread_blocked, id=8488] | 0x2a934480 JavaThread "TP-Processor1" daemon [_thread_blocked, id=8487] | 0x288ae9d8 JavaThread "http-0.0.0.0-8080-1" daemon [_thread_blocked, id=8486] | 0x2b147680 JavaThread "http-0.0.0.0-8080" daemon [_thread_in_native, id=8485] | 0x2b1474c8 JavaThread "JBossLifeThread" [_thread_blocked, id=8484] | 0x2a9c0ad0 JavaThread "Timer-4" [_thread_blocked, id=8483] | 0x29e2c678 JavaThread "Timer-3" [_thread_blocked, id=8482] | 0x2b1cb9a0 JavaThread "Store net.sf.hibernate.cache.StandardQueryCache Expiry Thread" daemon [_thread_blocked, id=8481] | 0x2b135588 JavaThread "Store net.sf.hibernate.cache.StandardQueryCache Spool Thread" daemon [_thread_blocked, id=8480] | 0x28d72d28 JavaThread "Store net.sf.hibernate.cache.UpdateTimestampsCache Expiry Thread" daemon [_thread_blocked, id=8479] | 0x2b14d098 JavaThread "Store net.sf.hibernate.cache.UpdateTimestampsCache Spool Thread" daemon [_thread_blocked, id=8478] | 0x27209ab8 JavaThread "IdleRemover" [_thread_blocked, id=8473] | 0x291e1840 JavaThread "UILServerILService Accept Thread" [_thread_in_native, id=8471] | 0x291e1d48 JavaThread "TimeoutFactory" daemon [_thread_blocked, id=8470] | 0x28844fc0 JavaThread "JCA PoolFiller" [_thread_blocked, id=8469] | 0x2b3670d8 JavaThread "Timer-2" daemon [_thread_blocked, id=8468] | 0x2913a970 JavaThread "HSQLDB Timer @1e33bb8" daemon [_thread_blocked, id=8467] | 0x28f0b400 JavaThread "WorkManager(3)-1" daemon [_thread_blocked, id=8466] | 0x2958acf8 JavaThread "Thread-3" daemon [_thread_blocked, id=8465] | 0x29381968 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=8464] | 0x2939c6f0 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=8463] | 0x2b3460c0 JavaThread "PooledInvokerAcceptor#0-444
[jboss-user] [JNDI/Naming/Network] - Re: Failed to connect to localhost:1099
Ok Thansks. What is the default port and normally where it is configured. 1099
[jboss-user] [JBoss jBPM] - Re: Timer and org.jbpm.web.JobExecutorLauncher in jbpm3.2GA
Hi Thank you for your reply now i get: 246836 [JbpmJobExector:172.30.9.27:1] ERROR org.jbpm.job.executor.JobExecutorThread - exception in job executor thread. waiting 16 milliseconds org.jbpm.util.JndiLookupException: couldn't fetch 'java:/hibernate/SessionFactory' from jndi at org.jbpm.util.JndiUtil.lookup(JndiUtil.java:41) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:87) at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98) at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:352) at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563) at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109) at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) Caused by: javax.naming.NamingException: Not in an application scope - start Orion with the -userThreads switch if using user-created threads at com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java:34) at com.evermind.naming.FilterContext.lookup(FilterContext.java:138) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jbpm.util.JndiUtil.lookup(JndiUtil.java:36) ... 7 more I'm using OC4J server with jbpm version 3.2 and oracle 10g DB where do i need to define the session factory? i have in hibernate.cfg.xml: | | | | | org.hibernate.dialect.OracleDialect | | | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@//:1521/*** | | | | | org.hibernate.cache.HashtableCacheProvider | | org.hibernate.cache.HashtableCacheProvider | java:/hibernate/SessionFactory | | org.hibernate.transaction.JTATransactionFactory | | org.hibernate.transaction.OC4JTransactionManagerLookup | java:comp/UserTransaction | and in the jbpm.cfg.xml: | | | | | | | | | | | | | | | | what else do i need define? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208073#4208073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: order of loading class
See these http://www.jboss.org/community/docs/DOC-10290 http://www.jboss.org/community/docs/DOC-9288 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208072#4208072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPMN events based Xor implementation
XOR from BPMN map to a Decision of jPDL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208070#4208070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm
Hi, anonymous wrote : most crashes we had were due to disk crashes That´s an interesting piont - I did not thougth about it that way... anonymous wrote : So logging async (JMS) How much logging did you wrote asynchronously? I heard about such suggestions earlier but personally I always thought that´s an amazing overhead for writing log statements View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208069#4208069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Problem with arjuna API
Hi folks, Any idea on this issue ? Venu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208067#4208067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How Can I use a bridge to link a weblogic message queue?
great! I think you need to add the weblogic provider in jms-ds.xml, basicall just make a copy of the default jms provider and change the FactoryRef, QueueFactoryRef, and TopicFactoryRef to your values. also maybe you should uncomment the jndi properties and make some changes. Then change the bridge service config accordingly. see etc/test-bridge-service.xml. Hope it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208066#4208066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - information for unlocking
if you have phone to unlocked you can visit this website www.fast-unlocking.com and i unlocked my blackberry then the code is 100% working View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208065#4208065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How Can I use a bridge to link a weblogic message queue?
I have tried.The bridge example is ok. I need to know how to config the jms-ds.xml to provider weblogic Jms provider. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208064#4208064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How Can I use a bridge to link a weblogic message queue?
First thing you should try out is the birdge example that comes with JBM 1.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208063#4208063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
Hi, I assume you are using bridge example with some modification. I'll try myself. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208060#4208060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - javax.ejb.EJBAccessException: Invalid User
Development Platform: Eclipse Linux JBoss 5 JSF and Trinadad Problem Description: I have two classes: (a) Stateless bean[RenewalNoticeTimerController] packaged in a ejb.jar (b) Servlet [StartupTimerServletContextListener] packaged in web.war 1. The ejb.jar and web.war are ear modules and deployed in ear file. 2. When I deploy the ear, I get javax.ejb.EJBAccessException: Invalid User. Please see tha [C] Stack Trace below. 3. However if I remove the highlighted [Ln 111] in the StartupTimerServletContextListener class, I don't see any error and the ear deploys fine. 4. You can conclude, therefore that the problem is caused by the RenewalNoticeTimerController from the ejb.jar and is related to security. Could someone please take a look at my code, particularly, the security annotations in RenewalNoticeTimerController and help me identify the problem? Thanks you in advance | Additional Info | - | jboss-app | - | http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd";> | | java:/jaas/odmsRealm | | - | jboss.xml | - | http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.jboss.org/j2ee/schema http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; version="5.0"> | java:/jaas/Realm | anonymous | | - | jboss-web.xml | - | http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd";> | | java:/jaas/Realm | /-web | | | - | [A] StartupTimerServletContextListener [ejb layer] | - | // Security annotation | @javax.annotation.security.DeclareRoles({"admin", "staff"}) | @javax.annotation.security.RolesAllowed({"admin", "staff"}) | @org.jboss.ejb3.annotation.SecurityDomain(value = "Realm") | public class StartupTimerServletContextListener implements ServletContextListener{ | /** | * The logger object. | */ | private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(StartupTimerServletContextListener.class); | private static final String ATTRIBUTE_NAME = "RenewalNoticeTimer"; | private javax.servlet.ServletContext servletContextEvent; | | @javax.ejb.EJB(mappedName ="ejb/RenewalNoticeTimerController") | private com...jms.intf.RenewalNoticeTimerRemote renewalNoticeTimer; | | /** | * Methods from the ServletContextListener. Initialises the timer service. | * | * @param event Event that invoked the listener | */ | public void contextInitialized(ServletContextEvent servletContextEvent) { | log.debug("Entering contextInitialized"); | if(this.servletContextEvent != null) { | throw new IllegalStateException("context is already initialized"); | } | this.servletContextEvent = servletContextEvent.getServletContext(); | this.servletContextEvent.setAttribute(ATTRIBUTE_NAME, new Integer(0)); | try { | /* | * When you deploy the enterprise application you will see that the timer is | *set to start at midnight and execute every 8640 ms (i.e. every 24 hours). | */ | Calendar now = Calendar.getInstance(); | now.set(Calendar.HOUR_OF_DAY, 0); | now.set(Calendar.MINUTE, 0); | now.set(Calendar.SECOND, 0); | int year = now.get(Calendar.YEAR); | int month = now.get(Calendar.MONTH); | int dayOfMonth = now.get(Calendar.DAY_OF_MONTH); | int hourOfDay = now.get(Calendar.HOUR_OF_DAY); | int minute = now.get(Calendar.MINUTE); | Long repeat = 6L * 60L * 24L; | log.info("Start time: " + now.getTime()); | log.info("Repeat every: " + repeat + " ms (" + (repeat / 360L) + " hrs)"); | | renewalNoticeTimer.startTimer(new GregorianCalendar(year, month, dayOfMonth, hourOf
[jboss-user] [JBoss Cache: Core Edition] - Re: Why does em.persist resets the Query cache?
I think its not for just named queries because it works when i do not persist anything. It caches normal queries, and also you can mark @QueryHint to obtain caching for named queries. To sum up, i think there is no solution for this situation, out of controlling the cache manually. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208058#4208058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How Can I use a bridge to link a weblogic message queue?
I want to create a bridge to link a weblogic message queue.So when a weblogic message queue recieve a message,the bridge will take the message to my queue which is in my jboss-messaing. I know there is two things I have to do. The first,add JMS provider loader for weblogic,but I don not know how to config it in jms-ds.xml.I do not know whether I need to modify "ProviderAdapterClass" etc.Is anyone can give me an example for this? The second is to deploy a test-bridge-service.xml to the deployment dir. Is there anything else that I should do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208055#4208055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Why does em.persist resets the Query cache?
Well, first of all, query caching is only for named queries. So, you will need to create an entity which has the following annotation (or XML configuration): @NamedQueries( { @NamedQuery(name = "Book.findByIdCustom", query = "select b from Book b where b.id < :id") }) Where Book is your entity and id is a field in your entity. Then you will need to create the following code in your facade: Query query = entityManager.createNamedQuery("Book.findByIdCustom"); | query.setParameter("id", id); | query.setHint("org.hibernate.cacheable", true); | return query.getResultList(); Now, you will need to be careful to evict the query results appropriately to avoid getting stale data in your results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208052#4208052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re:
http://www.jboss.org/community/docs/DOC-12685 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208051#4208051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - TreeCache ClassCastException with Isolated Classloader
Hello, We need to use an isolated classloader for our EAR and we have configured Hibernate to use JBoss Cache as a second-level cache. The problem is that once we configure isolated classloading, either at the EAR level or the JBoss ejb loader level, we are getting JBoss TreeCache classloader exceptions being thrown on deployment. How do we use JBoss Cache and specifically Hibernate second-level cache with isolated classloaders? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208050#4208050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm config no longer on classpath
??? afaik, usage of jBPM in projects has never been dependant on project names... Does the config has a custom name? a little more detail would be helpful to lend a hand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208049#4208049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timer and org.jbpm.web.JobExecutorLauncher in jbpm3.2GA
Google is your friend http://www.google.nl/search?q=jobexecutor+jbpm+web.xml&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208048#4208048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Server list empty in eclipse, cannot debug!
OK this is a great saviour: to go in broadcast/testing mode just set the "host name" to 0.0.0.0 and it will go in broadcast. It's in the general information tab, the first label is the "Server name", the seond is the "host name" should be just a custom label but ovverides somehow the launch vm arguments (just open up the launch configuration frome the same panel and look at the vm arguments, they're changed!) Hope this can help other collegues having similar troubles. Thanks max.andersen to suggest me to double click on the server view, I work in an enterprise dev team with jboss every day and never discovered this feature :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208047#4208047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Interceptors not working with derived classes (4.2.3)
shame one me... the failure was caused by a disconfiguration for my part, so it isnt a bug :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208046#4208046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Server list empty in eclipse, cannot debug!
pity me as I try change these values from doubleclick the edit configuration form says " The Host can only be changed in the Server Editor." and reverts "-b 0.0.0.0" automatically to "-b localhost" :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208045#4208045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Problem with the Web Service Example in jboss-messaging-1.4.
Hello, I have installed jboss-4.2.0.GA and jboss-messaging-1.4.2.GA as described in the JBoss Messaging User's Guide. I also downloaded the jboss-remoting 2.2.2.SP10-brew and copied it to messaging/lib. The server starts succesfully, and both queue and HTTP transport examples runs successfully. But when I try the Web Service example, I get the following server error: ERROR [BisocketServerInvoker] received new control socket for unrecognized listenerId ... The client outputs the following error: org.jboss.jms.exception.MessagingNetworkFailureException at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable (DelegateSupport.java:245) If I roll back to the original jboss-remoting.jar everything seems to work fine, but neither queue nor http transport example can run, even if I change to the new jboss-remoting.jar again. Have I made any mistakes during the installation? I strictly follow the instruction on the user's guide. Thanks in advance Jay Shan My environment: WinXP jdk1.5.0 update 11 jboss-4.2.0.GA jboss-messaging-1.4.2.GA jboss-remoting 2.2.2.SP10-brew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208044#4208044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Rewrite url, http code 302 instead of 301.
Hi, I want to move permanently some page and domain. When i look http header it's http code 302 So i specified 301, here the rewrite.properties under /conf/ RewriteRule ^/?pages/pub/typerencontres/([a-z/.]+)$ /$1 [R=301,L] | RewriteRule ^/?pages/pub/typerencontres/([a-z/.]+)$ /$1 [R=301,L] | RewriteRule ^/?pub/html/partenaires.jsf$ /pages/pub/annuaire-rencontres.jsf [R=301,L] | RewriteCond %{HTTP_HOST} ^www.a.fr [NC] | RewriteRule ^(.*) http://www.a.com$1 [R=301,L] What s wrong? I use jboss 4.2.2 / jsf Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208028#4208028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Why does em.persist resets the Query cache?
"ryanrlamothe" wrote : [list=]Do you have Hibernate second-level configured and enabled? | [list=]What are doing to test that #1 is true? It is true i both check database query logs and also hibernate.show_sql is enabled that i can see from terminal. And yes, hibernate secondary-level cache is configured and enabled. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208025#4208025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm config no longer on classpath
Having (unwisely) renamed my jBPM based project in eclipse my customised jbpm.cfg.xml no longer can be found at runtime. Nothing else (I think) has changed apart from the name of the projects and all seems to run smoothly until my code looks up variables found in my overriden config file; the variables are not found. I'm running jBPM 3.3.0 with jBoss 4.2.2. My project deploys as an ear with a jar that contains the config files. I've also tried putting the config directly in the 'war' in the same 'ear' but still no joy. And yes it exists in the deployed ear. Everything was working fine until I changed the project name...sigh... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208024#4208024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Redeployment loop of ear on jboss AS 5
Thanks for that jira ref - confirmed my suspicion View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208021#4208021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Why does em.persist resets the Query cache?
[list=]Do you have Hibernate second-level configured and enabled? [list=]What are doing to test that #1 is true? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208019#4208019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Server list empty in eclipse, cannot debug!
I do not know why you are browsing those launch configs (its definitly not related to JBoss Tools ;) Here is how I would set -b. File > New > Server > JBoss 4.2 (in the JBoss, a division by Red Hat category) Double click the server in the server view and set the host to 0.0.0.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208017#4208017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: After updating JBoss tools Seam Configurartion list is e
It is the first screen of the Seam Web App wizard. It is the last drop down list. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208016#4208016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: After updating JBoss tools Seam Configurartion list is e
what do you mean by "seam configure list" ? And where is that list ? any screenshot ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208015#4208015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Redeployment loop of ear on jboss AS 5
Sorry, I should maybe have updated this post, it seems this will be fixed for 5.0.1. https://jira.jboss.org/jira/browse/JBAS-6360 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208012#4208012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Delay in receiving replicated updates in my ASync Replicated
My current setup is that I have 10 caches setup in REPL_ASYNC mode with a replication queue trigger on 1000ms interval. On occasion, some cache are not late to receive the changes in the cache. The delay can be significant, in the order of minutes even when the transmitters have ceased to call their put() method. I noticed that when logging in debug, once the pbcast.STABLE schedules task run, everything is updated. Is there a way to increase the frequency of this scheduled in order to minimize the delay to an acceptable time. I am user the AOP JDK50 cache running in a SPRING container. Thanks in advance for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208009#4208009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - installation questions on XP home.
Greetings. I installed standalone JBoss into C:\Apps\JBoss\jboss-5.0.0.GA Then I found a mini tutorial and created this project and got it to run C:\Documents and Settings\jeff kish\Desktop\Projects\JBoss\HelloWorld Then I decided I would like to use Eclipse to work with JBoss. I read that the easiest thing to do was download jboss ide so I downloaded soa-4.3.0.GA.zip. I started having some questions.. I didn't see eclipse.exe in the ginormous download (557Mg) so I figured it didn't have eclipse there. The instructions I found said it would so I am mismatching my instructions with my downloads. So I looked online and saw the directories aren't quite the same in the zip as this documentation: http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/Getting_Started/html-single/index.html So I decided to just download the entire windows eclipse plug-in set and eclipse. I installed Ganymede (latest eclipse). I downloaded and installed the plug-in set for windows: JBossTools-ALL-win32-3.0.0.CR2-R200901280154.zip Now could someone point me to how to get these working together? I've used weblogic and eclipse before.. if I recall I just had to supply some command line args to eclipse to start it with enough memory, and tell the debugger to use something like port 9000 or something after building the project in eclipse. Or should I go back to the enormous 557Mb zip file and use that? thanks Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208008#4208008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
Regarding the points - supports conversion of 'decisionnodes' with custom oracle script converted to EL Transition from Decision nodes are defined in two ways in oracle: 1: item attributes are compared to other item attributes or other constant values. -> This is converted to transition based on condition such as 2: Custom oracle procedures are called which returns Equal etc. -> This is handled through a decision handler, which is added by the plugin. But developer has to manually edit the decide method to call right procedures. Plugin will only add the decision handler. - supports conversion of non-nested fork/join pairs to fully nested ones It converts fork/join pairs but nested one I have not implemented yet. It can be added in next release. Can you please provide a complete sample jpdl for nested fork join case so that I can implement the logic for the same. Thanks & Regards Ashu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208007#4208007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Timer and org.jbpm.web.JobExecutorLauncher in jbpm3.2GA
Hi, I'm trying to use a timer, so I have added the following code to my web xml | | Starts the job executor on servlet context initialization and stops it on | servlet context destruction. | | org.jbpm.web.JobExecutorLauncher | However when i run my workflow it says: anonymous wrote : | Error instantiating web-application | Error loading listener 'org.jbpm.web.JobExecutorLauncher', class not found | I have noticed that this class file exists in 3.3.1GA and not in 3.2GA, however I do want to use 3.2GA because other releases don't support jdk1.4 (i tried for example 3.2.5GA and couldnt make it work with jdk1.4) so i'm using 3.2GA, can anyone tell me what should I put (if i should put anything) in my web.xml so that the timer will work in jbpm 3.2GA? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208006#4208006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Access to additional properties / LDAP Attributes
Hello, i had set up the jboss-portal 2.7.0 and conntected it to a ldap directoty. I am using the the LDAPUserModuleImplementation to access user entries and their properties. Is their a common way to access own properties other than defined in jboss-portal.sar/conf/identity/profile-config.xml ? I had defined a ou attribute for the users in the directory because i want to know to which organisational units a user belongs. So far i did not discoved how to access this information. Have anybody a idea how i can access this attribut? Thanks a lot! Ingo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208005#4208005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to redirect domain to new domain?
Hi, I think i have found but not completely: In /conf/ I write this properties file : rewrite.properties RewriteCond %{HTTP_HOST} ^www.a.fr [NC] | RewriteRule ^(.*) http://www.a.com/$1 [L,R=301] In server.xml i put just after engine: But with this the server redirect to http://www.a.com// instead of http://www.a.com/ (with only 1 / at the end) If my rule is RewriteRule ^(.*) http://www.a.com$1 [L,R=301] (remove / before $1) the url is good. So all exemple i found on internet rule was RewriteRule ^(.*) http://www.a.com/$1 [L,R=301] and not RewriteRule ^(.*) http://www.a.com$1 [L,R=301] It s seem i have not the standard behaviour. There is someone who has this strange behaviour? So what is the risk i f use "my" rule? Thanks I use Jboss4.2.2/richfaces/jsf(sun) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208004#4208004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Destroy service in which order?
Could someone please help me understand the questions in my post? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208002#4208002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Server list empty in eclipse, cannot debug!
maybe can be of help saying I run vista 64 :( since I cannot plug a floppy I don't have the capability of installing xp32 with external sata drivers :( :( The distro for win64 is only the base sdk, which I run, maybe the jboss tools are not fully compatible with the 64bit version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208001#4208001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
How should I supply the test program and configuration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207996#4207996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Multicontext and Autowired
Hi id like to create multicontext spring application with structure EAR -JAR(with spring beans) -WAR ---CONTROLLER (jar) ---VIEW And it works when when im getting spring beans from JAR(spring) to CONTROLLERS manualy, but it doesnt work when i use @Autowired. Its error at line - cant find package Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207995#4207995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: naming.NameNotFoundException problem
How can the following configuration can help me with solving my problem that i have described above? +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy35 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: $Proxy44 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- 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: $Proxy36 implements interface org.jboss.console.manager.PluginManagerMBean) | +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) | +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- EventDispatcher (class: org.jboss.ws.eventing.mgmt.DispatcherDelegate) | +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207993#4207993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - javax.naming.NameNotFoundException: mdbtest not bound
Hello, I am developing an EJB3 MDB in Eclipse Ganymede RS1 against JBoss 4.2.2 GA. At deployment time I get the following exception, | 13:18:28,493 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/ProducerConsumerClientEAR.ear | 13:18:28,805 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.mdb.ConsumerContainer | 13:18:28,805 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ProducerConsumerClientEAR.ear,jar=ConsumerMDB.jar,name=QueueTestConsumer,service=EJB3 with dependencies: | 13:18:29,007 INFO [EJBContainer] STARTED EJB: test.mdb.QueueTestConsumer ejbName: QueueTestConsumer | 13:18:29,007 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/mdbtest | 13:18:29,007 WARN [MessagingContainer] destination not found: queue/mdbtest reason: javax.naming.NameNotFoundException: mdbtest not bound | 13:18:29,007 WARN [MessagingContainer] creating a new temporary destination: queue/mdbtest | 13:18:29,023 INFO [mdbtest] Bound to JNDI name: queue/mdbtest | 13:18:29,117 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5377057139345978599ProducerConsumerClientEAR.ear-contents/ConsumerMDB.jar | 13:18:29,148 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/ProducerConsumerClientEAR.ear | This is my code, #1 The producer | package test.mdb; | | import org.jboss.annotation.ejb.Producer; | | @Producer | public interface QueueTestRemote { | public void method1(String msg, int num); | } | #2 The consumer (the bean) | package test.mdb; | | import javax.ejb.ActivationConfigProperty; | import org.jboss.annotation.ejb.Consumer; | | /** | * Message-Driven Bean implementation class for: QueueTestConsumer | * | */ | @Consumer( | activationConfig = { | @ActivationConfigProperty( | propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty( | propertyName="destination", propertyValue="queue/mdbtest") | }) | public class QueueTestConsumer implements QueueTestRemote { | | /** | * Default constructor. | */ | public QueueTestConsumer() { | // TODO Auto-generated constructor stub | } | | @Override | public void method1(String msg, int num) { | // TODO Auto-generated method stub | System.out.println("method1(" + msg + ", " + num + ")"); | } | | } | #3 And the client | package test.mdb; | | import javax.naming.InitialContext; | import org.jboss.ejb3.mdb.ProducerObject; | import org.jboss.ejb3.mdb.ProducerManager; | | public class Client { | | /** | * @param args | */ | public static void main(String[] args) throws Exception | { | // TODO Auto-generated method stub | InitialContext ctx = new InitialContext(); | QueueTestRemote tester = (QueueTestRemote)ctx.lookup(QueueTestRemote.class.getName()); | | ProducerObject po = (ProducerObject)tester; | ProducerManager manager = (ProducerManager)po.getProducerManager(); | | manager.connect(); // internally create a JMS connection | try | { | tester.method1("hello world", 55); | } | finally | { | manager.close(); // clean up the JMS connection | } | } | } | And in runtime I get another exception, | Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.lookup(Unknown Source) | at test.mdb.Client.main(Client.java:16) | And I do not know what is going wrong. Thanks in advance, Jose Alvarez de Lara View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207992#4207992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: can't rollback although i'm doing ctx.setRollbackOnly()
I ported it to jboss (i used before oc4j application server) and now its working... I guess its something with configuration of oc4j although I dont know what, from what I see i didnt see how to configure oc4j autocommit to true or false i will search that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207986#4207986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Errors Web Service Client
Hi All Could you please help me? I'm a new bie of Web Services I've created an EJB3 application and transformed a session bean into a web service. I've tested everything and it works. Then I've generated a simple Web Service Client using eclipse (develop client) I've created this class public class test { | | | public static void main(String[] args) { | | NavigatoreBeanProxy pp = new NavigatoreBeanProxy(); | | try { | pp.setPosition(10, 40, 34); | } catch (RemoteException e) { | | | e.printStackTrace(); | } And it gives the following error if run as a java application: | AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException | faultSubcode: | faultString: org.xml.sax.SAXParseException: Premature end of file. | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file. | at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) | at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) | at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) | at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411) | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1058) | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) | at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) | at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) | at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) | at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) | at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) | at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) | at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) | at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) | at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) | at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) | at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) | at org.apache.axis.client.Call.invokeEngine(Call.java:2784) | at org.apache.axis.client.Call.invoke(Call.java:2767) | at org.apache.axis.client.Call.invoke(Call.java:2443) | at org.apache.axis.client.Call.invoke(Call.java:2366) | at org.apache.axis.client.Call.invoke(Call.java:1812) | at session.NavigatoreBeanBindingStub.setPosition(NavigatoreBeanBindingStub.java:403) | at session.NavigatoreBeanProxy.setPosition(NavigatoreBeanProxy.java:80) | at session.test.main(test.java:15) | | {http://xml.apache.org/axis/}hostname:admin-836482f5f | | org.xml.sax.SAXParseException: Premature end of file. | at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) | at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701) | at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) | at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) | at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) | at org.apache.axis.client.Call.invokeEngine(Call.java:2784) | at org.apache.axis.client.Call.invoke(Call.java:2767) | at org.apache.axis.client.Call.invoke(Call.java:2443) | at org.apache.axis.client.Call.invoke(Call.java:2366) | at org.apache.axis.client.Call.invoke(Call.java:1812) | at session.NavigatoreBeanBindingStub.setPosition(NavigatoreBeanBindingStub.java:403) | at session.NavigatoreBeanProxy.setPosition(NavigatoreBeanProxy.java:80) | at session.test.main(test.java:15) | Caused by: org.xml.sax.SAXParseException: Premature end of file. | at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) | at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) | at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) | at com.sun.org.apache.xerces.internal.impl.XMLScann
[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
"rnicholson10" wrote : | | Another question if I might, why is jboss-messaging not tested against AS5? | | Because 1.4.2.GA is not a release targeted for JBoss 5, it's for JBoss 4.x. That's why you had to build it yourself against JBoss 5 libraries. Latest version of JBoss 5 comes with 1.4.1.GA. Which is thoroughly tested. Next version of JBoss 5 will come with a different version of JBM, and yes that's test too. If you decide to replace the version of any component in a shipped version of AS you do so at your own peril. Howard - can you investigate this, to see if there is a real issue here, or it's just a misconfiguration? rnicholson10 - please provide us with a small test program and configuration which replicates this issue, so Howard can investigate... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207983#4207983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - org.hibernate.jdbc.JDBCContext - TransactionFactory reporte
Hi i'm trying to run jbpm over OC4J with oracle 10g as DB I'm using jbpm 3.2 over jdk 1.4.2 i'm trying to run Transaction example but i'm unable to i configured my hiberante.cfg.xml as follows: org.hibernate.dialect.OracleDialect oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@//:1521/ ** * org.hibernate.cache.HashtableCacheProvider java:/hibernate/SessionFactory org.hibernate.transaction.JTATransactionFactory org.hibernate.transaction.OC4JTransactionManagerLookup java:comp/UserTransaction also my jbpm.cfg.xml as follows: but still i dont see anything being committed into the DB in the log i get alot of : 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.event.def.WrapVisitor - Wrapped collection in role: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 452 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered 452 [HttpRequestHandler-25515362] DEBUG org.hibernate.engine.Cascade - processing cascade ACTION_SAVE_UPDATE for: org.jbpm.taskmgmt.def.TaskMgmtDefinition 452 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered please advise View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207982#4207982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user