[jboss-user] [EJB 3.0] - Re: Seam - mapped-name required for timerService of TimerSer
Same problem here, any tips or hints would be useful! Cheers, Nicolai View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133545#4133545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Seam - mapped-name required for timerService of TimerSer
Just tried the seam-booking example from Seam 2.0.1.GA (that is supposed to work on JBoss 5 beta 4), and gives exactly the same error: /jboss-seam-booking.ear - java.lang.RuntimeException: mapped-name is required for timerService of deployment TimerServiceDispatcher More details: | 09:07:29,741 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 09:07:29,742 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115) | 09:07:29,743 INFO [ServerImpl] Home Dir: /Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4 | 09:07:29,743 INFO [ServerImpl] Home URL: file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/ | 09:07:29,744 INFO [ServerImpl] Library URL: file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/lib/ | 09:07:29,744 INFO [ServerImpl] Patch URL: null | 09:07:29,744 INFO [ServerImpl] Server Name: default | 09:07:29,744 INFO [ServerImpl] Server Home Dir: /Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default | 09:07:29,745 INFO [ServerImpl] Server Home URL: file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/ | 09:07:29,745 INFO [ServerImpl] Server Data Dir: /Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/data | 09:07:29,745 INFO [ServerImpl] Server Temp Dir: /Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/tmp | 09:07:29,745 INFO [ServerImpl] Server Config URL: file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/conf/ | 09:07:29,745 INFO [ServerImpl] Server Library URL: file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/lib/ | 09:07:29,745 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml | 09:07:30,012 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml | 09:07:30,891 INFO [ProfileImpl] Using profile root:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default | 09:07:31,198 INFO [ServerInfo] Java version: 1.6.0_04-dp,Apple Inc. | 09:07:31,198 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.6.0_04-b12-45-optimized,Apple Inc. | 09:07:31,198 INFO [ServerInfo] OS-System: Mac OS X 10.5.2,x86_64 | 09:07:31,228 INFO [JMXKernel] Legacy JMX core initialized | 09:07:34,593 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ | 09:07:35,611 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 09:07:35,611 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 09:07:35,833 INFO [TransactionManagerService] Starting recovery manager | 09:07:35,953 INFO [TransactionManagerService] Recovery manager started | 09:07:35,954 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 09:07:47,198 INFO [AspectDeployer] Deploying xml into [EMAIL PROTECTED] for [EMAIL PROTECTED]:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/deploy/ejb3-interceptors-aop.xml} | 09:07:47,972 INFO [RARDeployment] Required license terms exist, view vfsfile:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml | 09:07:47,975 INFO [RARDeployment] Required license terms exist, view vfsfile:/Users/jboss/Projects/lib/jboss/jboss-5.0.0.Beta4/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml | 09:07:48,008 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 09:07:48,536 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP)) | 09:07:48,627 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 09:07:48,652 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 09:07:48,655 INFO [JobStoreCMT] Using db table-based data access locking (synchronization). | 09:07:48,677 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s). | 09:07:48,677 INFO [JobStoreCMT] Removed 0 Volatile Job(s). | 09:07:48,678 INFO [JobStoreCMT] JobStoreCMT initialized. | 09:07:48,678 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance. | 09:07:48,678 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 09:07:48,687 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state. | 09:07:48,693 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down. | 09:07:48,694 INFO
[jboss-user] [JBoss jBPM] - BPEL -- Can ´t connect with other Web Services
Hi all, I´m testing jboss-bpel, I did a WS and a BPEL precess which call it. The WS works fine, and the BPEL process deploys fine too, but when I run the BPEL Process, it breaks. The erro is org.jbpm.bpel.BpelException: no port implements the required port type: portType ={http://cyii.es/services/ldap}WSLDAPPort But that ports is declared. Somebody could help me. I don't know exactly the problem and also could be the solution. Thanks Rodolfo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133549#4133549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Oracle DS
Artec wrote : | I'm sorry but i'm just a system administrator !!! Have you an application (or a link) to verify the datasource. | Another question: but hypersonic is used by JBoss for what ?? | What do you mean by verifying the datasource ? If the ds is not deployed properly then the logs would indicate that , you will see the ERROR messages in the logs . Hypersonic is there for experimental purpose , we never recommend it for the production . Yes Oracle/MySql is good for production , I think MySql should be okay in production . Finally consult your technical team to take such decisions and read the jboss wiki's , most of your questions will be answered . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133550#4133550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to write Jboss Web Service Client for JBoss 4.0.4 GA
If you are looking for simple RPC client then try to write on similer lines of example given on download page. I got that way working. Let me know your exact environment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133551#4133551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: java script is compressed
this works now it seems that I just had to restart the JBoss server View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133555#4133555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: specify task time window
aapthorp wrote : The only possible way I can see to do this is to set a timer for the scheduled start time, but can't see how to get timer's associated with a task instance. Anyone any ideas or is there some easier way to do this? Store some 'handle' in a process variable available to the timer's handler code? aapthorp wrote : I was also wondering why absolute due dates can't be specified? I can't see anything in the forums on this. Since the process graph is intended to be run time and again, having an absolute due date/time wouldn't make much sense. So the 'absolute' due date is the start date + the due date specified... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133556#4133556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
while i'm sure that means something to you. can you please elaborate? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133557#4133557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
kukeltje wrote : You can use custom nodes (in behaviour!!) as well... this is indeed fairly easy. In this context, I assume you are referring to the default 'vanilla' node that's available in the GDP? I agree that's a very useful basis for custom behaviour. kukeltje wrote : Custom nodes with their own image etc in the GPD is currently not I was going to take a look, but I think I'll leave it for now. LOL. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133559#4133559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Switching Java-serialization to JBoss-serialization for remo
Hello, I try to increase performance of out application. It is quite simple event processing application. During event processing it is required to communicate with few services that are exposed via EJB3 remote interface. I can't change remote interface to local, because we work in cluster and it is not necessary true that local service will be used. I was read about JBoss-serialization and JBoss-remoting, that it can be way to increase serialization performance. It is possible (and how?) to switch serialization for remote EJB3 invocation ? BR, fl View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133563#4133563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Please help me
Hello plz help me... I want to do clustering in Jboss.. i have Jboss 4.2.2.GA AS.having jdk 1.5 version of java. I created 2 nodes in my machine... I deploy counter.war file to replicate the session ID but didnt able to do that... can some body help me out Plz give me detail steps how to clustering in JBOSS 4.2.2.GA version i have only 2 nodes on my machine. plz help .as soon as possible mail me at [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133566#4133566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
Ronald referred to the classloader specifics of JBoss. There are a couple of wiki pages in that respect, eg: http://wiki.jboss.org/wiki/Wiki.jsp?page=GetClassNotFoundExceptionOrNoClassDefFoundError I think the fourth point 'The class is not visible from where it is being loaded' matches your use case pretty much. It would be interesting to know, however, why your *.war with the included jbpm-jpdl.jar doesn't deploy. This is how the jBPM web console application is deployed (if you don't use the *.ear version). Please provide more details of what is failing and the exceptions you get, as well as the versions (AS, jBPM) so that we can help you further. Just a guess, if it is jBPM 3.2.x on AS 4.2.x, this will not work ootb, but you could follow this wiki to get it going: http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133568#4133568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - field vs property based persistence
Hi, Is it possible to use property based persistence while annotating private fields? Something like: @Entity | public class Foo { | | @Id @GeneratedValue | private Long id; | | | | public Long getId() { ... } | public void setId() { ... } | } Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133570#4133570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet Container 2.0B1 : NullPointerException at Portle
So actually, the code should be ok in the next release (I have added a test case) but indeed the beta 1 release has this bug when it comes to retrieve the user profile. Meanwhile what you should do to fix it is to declare at least one user attribute in your portlet.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133572#4133572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem instantiating a delegate class
Solved the problem: Deleted the loader-repository tag of my jboss-app.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133573#4133573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Variables in expressions are not deserialized?
I noticed something odd. I was trying to use a decision node which had a transition that checked a boolean process variable and a default transition. the syntax of the expression used: #{off} when running a process instance and toggling the value of off the default transition is always taken, now i know that the variable is toggled since i used a global event type node-enter that outputs the value of off to the console, however i noticed the value is serialized. so now i was wondering if the value is not deserialized when being accessed in the expression or something else is amiss. for now i use a handler, and it works, but i rather use the xml to reduce the number of classes needed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133575#4133575 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Could not obtain connection to a url
Hello!! I'm using JBoss 4.2.2 and I've installed WMWare in my computer and I've created a virtual O.S. In this virtual machine I've installed jbpm 3.2.2. I would like to communicate from my Jboss 4.2.2 to this remote jbpm. I've created a method where I configure the context's properties but I don't get to establish the connection. The error that is shown is: Could not obtain connection to any of these urls: x.x.x.x But the ip is that the computer shown when I type ipconfig | public void crearInstanciaProceso() { | | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | env.put(Context.PROVIDER_URL, http//x.x.x.x:1099/); | env.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces); | | try{ | InitialContext intCtx = new InitialContext(env); | Object obj = intCtx.lookup(JbpmDS); | System.out.println(--JBPMDS); | //Recuperar id del proceso | | //Iniciar el proceso | | | }catch(Exception e){ | e.printStackTrace(); | } | } Any ideas? Thank View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133580#4133580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
Thanks for the explanation :) I'm running on jboss 4.2.2.GA using jBPM 3.2.2 As for what is failing... the first error is the one i've indicated in the first post. To be honest I'm not the developer of the code i'm just the poor bugger who has to get it to deploy. I had originaly built an ear for it to go in, but that didn't work so i've broke it down to the war and got the underlying problem. but if you really want the stack trace (made it small on purpose)... 2008-03-03 10:30:04,642 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/appservers/jboss-4.2.2.GA/server/default/deploy/acqdr5.war | java.lang.NoClassDefFoundError: org/jbpm/taskmgmt/exe/TaskInstance | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) | at java.lang.Class.getConstructor0(Class.java:2671) | at java.lang.Class.getDeclaredConstructor(Class.java:1953) | at com.sun.xml.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:464) | at com.sun.xml.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:58) | at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.init(ClassInfoImpl.java:193) | at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.init(RuntimeClassInfoImpl.java:94) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:108) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:79) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:222) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:98) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:192) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:93) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:298) | at com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:92) | at com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:69) | at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:58) | at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:51) | at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:74) | at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:77) | at java.util.AbstractList$Itr.next(AbstractList.java:422) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:238) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:98) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:192) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:93) | at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:298) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:313) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:286) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) | at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105) | at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:116) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:921) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:146) | at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63) | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) | at
[jboss-user] [JBoss jBPM] - Re: StackOverflow with Seam and @BeginTask
you are right, but somehow it relates to jBPM. if the @BeginTask annotation is commented out, no exception is throw when calling the method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133588#4133588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: specify task time window
due dates can use EL now as well (see the docs) That way you can set an absolute due date if it e.g. is in a processvariable. And if the 'start date' does not need to be real (the task appearing at that time), use just a processvariable for that. If you do want see the task not before that specific date, use a state with a timer that transitions to the task if the timer is fired View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133591#4133591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
The ESB 'node' is a nice example of extending the GPD with a custom property pane, a custom icon but by using the generic node type with an action on it This is not to difficult and does not require adding real/full custom nodes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133592#4133592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: StackOverflow with Seam and @BeginTask
Yes, but the @BeginTask code is maintained in the seam project View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133593#4133593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Message Driven Bean not working with jBPM
you can store the message on the queue but it is not picked up... does not sound like a jbpm issue what if you make a unit test independent of jbpm? does it work then? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133595#4133595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Problem after switching to SQLServer from Hypersonic
Hi We are having a problem with JBossMQ. We have recently switched from using the Hypersonic db to SQLSever 2000. Things run smoothly for a while but then we get the following error every time we try and receive/browse on any queue. To resolve we then have to restart JBoss. Anybody any idea what the problem could be? java.lang.RuntimeException: Can't add object '244 msg=51 STORED PERSISTENT queue=QUEUE.workingJobs priority=4 lateClone=false hashCode=27152951' to LRUCache that is already in cache. INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageCache$LRUCache.addMostRecent(MessageCache.java:791) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageCache.messageReferenceUsedEvent(MessageCache.java:403) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:168) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageReference.getMessageForDelivery(MessageReference.java:147) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.BasicQueue.browse(BasicQueue.java:433) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSQueue.browse(JMSQueue.java:160) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSDestinationManager.browse(JMSDestinationManager.java:566) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSServerInterceptorSupport.browse(JMSServerInterceptorSupport.java:226) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.security.ServerSecurityInterceptor.browse(ServerSecurityInterceptor.java:99) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.TracingInterceptor.browse(TracingInterceptor.java:504) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSServerInvoker.browse(JMSServerInvoker.java:227) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:113) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396) INFO | jvm 1| 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392) INFO | jvm 1| 2008/03/03 11:35:59.175 | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) INFO | jvm 1| 2008/03/03 11:35:59.175 | at java.lang.Thread.run(Unknown Source) Any help would be appreciated! Thanks Matt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133599#4133599 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - J2EE application startup code?
Greetings, I'm writing a standard J2EE application composed of some stateless session beans. I have some code which should be executed at the initialization of the whole application (it basically reads some configuration files, and stores the result in static variabiles). Is it ok to put this code in the static {} portion of a stateless EJB, or is there any more appropriate place? The code must be executed once for all, so ejbCreate() is not what I need. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133597#4133597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - parameters with state
Is it possible to add parameters to a state definition in the process definition? Greetz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133600#4133600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Switching the Database Backend
Hi all, I followed the getting started guide to switch the database backend to mysql however when i start the jbpm-server i get the following stack trace: | | 12:58:48,046 INFO [STDOUT] java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException | 12:58:48,046 INFO [STDOUT] at java.lang.Class.getDeclaredConstructors0(Native Method) | 12:58:48,062 INFO [STDOUT] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) | 12:58:48,062 INFO [STDOUT] at java.lang.Class.getConstructor0(Class.java:2671) | 12:58:48,062 INFO [STDOUT] at java.lang.Class.newInstance0(Class.java:321) | 12:58:48,062 INFO [STDOUT] at java.lang.Class.newInstance(Class.java:303) | 12:58:48,062 INFO [NamingHelper] JNDI InitialContext properties:{} | 12:58:48,062 INFO [STDOUT] at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:327) | 12:58:48,062 INFO [DatasourceConnectionProvider] Using datasource: java:/JbpmDS | 12:58:48,078 INFO [STDOUT] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:219) | 12:58:48,078 INFO [SettingsFactory] RDBMS: MySQL, version: 5.1.22-rc-community | 12:58:48,078 INFO [STDOUT] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1823) | 12:58:48,078 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.7 ( $Date: 2005/01/25 19:11:41 $, $Revision: 1.27.4.54 $ ) | 12:58:48,078 INFO [STDOUT] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1143) | 12:58:48,078 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect | 12:58:48,093 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) | 12:58:48,093 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions) | 12:58:48,093 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:76) | 12:58:48,093 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:80) | 12:58:48,109 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPersistenceService.java:252) | 12:58:48,109 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) | 12:58:48,109 INFO [STDOUT] at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:523) | 12:58:48,109 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 12:58:48,109 INFO [STDOUT] at org.jbpm.msg.db.DbMessageService.(DbMessageService.java:49) | 12:58:48,109 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 12:58:48,109 INFO [STDOUT] at org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceFactory.java:32) | 12:58:48,125 INFO [SettingsFactory] JDBC batch size: 15 | 12:58:48,125 INFO [STDOUT] at org.jbpm.svc.Services.getService(Services.java:136) | 12:58:48,125 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 12:58:48,125 INFO [STDOUT] at org.jbpm.svc.Services.getMessageService(Services.java:172) | 12:58:48,125 INFO [SettingsFactory] Scrollable result sets: enabled | 12:58:48,125 INFO [STDOUT] at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:122) | 12:58:48,140 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled | 12:58:48,140 INFO [STDOUT] at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:83) | | | | Am i missing something? | | Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133603#4133603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - to find out the IP's of the nodes in the cluster
Hello, Is there any way to find out the names (IP's) of the nodes present in a cluster? At the client side I want to know the nodes which are part of the cluster. Let me know if this possible. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133606#4133606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBoss IDE-eclipse 3.2.1 HANG !
Hi All, I am using jBPM 3.1.4 with jBoss IDE and eclipse 3.2.1, under a web project and all hang (and I must init eclipse again) when I assign an ActionHandler to a node. This behavior seem unusual, but it is this strange. Any help in this matter will be very appreciated. Thanks in advance. Victor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133610#4133610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Message Driven Bean not working with jBPM
Thanks for your feedback Ronald. In the last few minutes I have managed to get this to work. I'm unsure of how exactly Eclipse deploys the java class files, but the MDB needs to be within a .jar, so what I managed to do was remove it from the src/main/java com.distributed.action package and deploy it manually within a new jar file. Now it works, even picking up the 10 text messages sent to the queue over the last few days :) You are correct this is not specifically a jBPM issue. Thanks again for taking the time to respond, much appreciated. Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133613#4133613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PDF generating
The visual page editor can render anything as long as it can be approximated in an html rendererand for PDF that is probably going to be hard. But if the seam pdf tags could be translated into something approximate html it is very doable as far as I see it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133615#4133615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - eb3.deployer not found
when i use ant to deploy ejb3 app iam getting this error D:\Program Files\jboss-4.0.5.G A\server\default\deploy\ejb3.deployer not found. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133618#4133618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Could not obtain connection to a url
anonymous wrote : env.put(Context.PROVIDER_URL, http//x.x.x.x:1099/); This should be env.put(Context.PROVIDER_URL, jnp://x.x.x.x:1099/); And how do start the JBoss server? Do you use the -b option with run.bat? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133621#4133621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HOWTO Dynamically Create Portal Pages
yes, the admin portlet is a good place to understand how to modify dynamically portal objects View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133623#4133623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to dynamically change security role without logging
We were able to finally workaround this issue without resorting to turning off all authentication caching in 4.2.2GA. First I flush the authentication cache for the user who needs their roles refreshed. http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials Then use the new WebAuthentication class that Anil added (see: http://wiki.jboss.org/wiki/Wiki.jsp?page=WebAuthentication) to logout the user and programmatically log them right back in. Anil, do you see any drawbacks to this approach? Hope this helps! -Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133626#4133626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: eb3.deployer not found
Do you have that folder? How did you install JBoss and any specific reason for choosing 4.0.5GA for EJB3? There's a more recent stable version 4.2.2 which has support for EJB3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133619#4133619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: transaction timeout for MDB
I have the same question ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133628#4133628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - receiveNoWait returns always null
Hi, I have a problem when I try to consume message from a queue using the method receiveNoWait. I have an MBean which uses a QueueBrowser to determine a set of message IDs that should be processed. After the selection a message selector is used to retrieve the message from the queue (the selector uses the property JMSMessageID). When I call receiveNoWait on the receiver, it always returns null. If I use the blocking receive call (either with or without setting a timeout), it works and I get the message. I use JBoss 4.2.2 with JBossMessaging 1.4.0.SP3 and a Mysql5 as JMS persistence. Any ideas? Regards Charly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133633#4133633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Cluster partition on JBoss 3.2.7
Hallo What is the recomneded way to run two JBos 3.2.7 instances on the same machine without letting them form a cluster. I have tried to change the partition name on one machine from DefaultPartition to MyPartition, but it seems that I cannot find all dependencies so I get a lot of errors. When I try to change theUDP mcast_addr=228.1.2.3 mcast_port=45568 in cluster-service.xml I get the ERROR Starting failed jboss.mq:service=InvocatgionLayer,type=OIL jav.net.BindException: Address already in use: JVM_BIND ... In the old Clustering guide I have found, they only talk about partitions but never show how to actually set up one. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133634#4133634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - jms/jndi issue
Hi all, I have a few problem deploying my JMS in the following Topology: -JBossA hosts the Hypersonic Database and the JMS provider deployed using uil-service.xml -JBossB uses JBossA as JMS Provider -A JMS client connects to the JMS Provider by doing a remote lookup on JBossB Basically, when I lookup the ConnectionFactory from with JBossA, I get a org.jboss.mq.il.uil2.UILServerIL pointing to the JMS Broker. When I do a local lookup from within JBossB or the JMS Client, I would like to have the exact same MBean, and I don't really manage to get that configured. The only way I can get it is by looking up the object store in JBossA (remote lookup) and I want to avoid that at any cost. I would really appreciate any help... Benjamin, ps: the problem is more about getting the JNDI lookup right rather that managing to connect to a remote JMS provider (as described here http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133632#4133632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - JMS listenere becomes stale
Hi, We are using JBoss implementation for JMS queue. After a while JMS listener becomes stale and we have to start a new thread. Has anybody experienced similar problem? What are the reasons behind it? Thanks and regards, Kunal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133636#4133636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss installing Problem
Where do i usually find that -ds.xml file or where do i have to create one? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133640#4133640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
what other jars do you bundle inside this *.war? The stacktrace shows some WS classes, do you have such libraries inside your application? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133642#4133642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Unable to send message
JBossAS 4.2.2.GA, JBM 1.4.0.SP3 Sometimes when I start my message processing service and it trys to post a message to the queue I get the following, and I don't know what causes it or what it means. javax.jms.IllegalStateException: The object is closed | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:157) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$createTextMessage_4391803803118822775.invokeNext(ClientSessionDelegate$createTextMessage_4391803803118822775.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.createTextMessage(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.createTextMessage(JBossSession.java:149) | at com.eLynx.Messaging.MessageSender.sendXmlRequest(MessageSender.java:480) | at com.eLynx.Messaging.XmlMessageSender.post(XmlMessageSender.java:147) | at com.eLynx.BPM.Process.ProcessManager.initiateProcess(ProcessManager.java:103) | at com.eLynx.USign.USignPackageHandler.process(USignPackageHandler.java:182) | at com.eLynx.USign.USignPackageHandler.execute(USignPackageHandler.java:219) | at com.dev.Router.PackageHandlers.AbstractPackageHandler.processPackageFile0(AbstractPackageHandler.java:1140) | at com.dev.Router.PackageHandlers.AbstractPackageHandler.processPackageFile(AbstractPackageHandler.java:1036) | at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.dev.Router.PackageRouter.PackageProcessor.processPackageFile(PackageProcessor.java:544) | at com.dev.Router.PackageRouter.PackageProcessor.preparePackage(PackageProcessor.java:367) | at com.dev.Router.PackageRouter.WebPostPoll.process(WebPostPoll.java:385) | at com.eLynx.Service.PackageProcessing.PackageProcessingMessageHandler.processMessage(PackageProcessingMessageHandler.java:153) | at com.eLynx.Messaging.MessageReceiverHandler.onMessage(MessageReceiverHandler.java:147) | at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:157) | at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:965) | at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89) | at java.lang.Thread.run(Thread.java:595) Ant ideas? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133646#4133646 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133646 ___ 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: Running a GlassFish-developed-application on JBoss 4.2.2
I think the problem is with the two files admin-ds.xml and transactions-ds.xml. JBoss do not understand them. Merge their contents into one file called mysql-ds.xml and place it in the deploy folder. You should be able to hot deploy it and you will also see JBoss binding to the JNDI name . Moreover if you are using a default installation of JBoss then you need another DS called DefaultDS for JBoss to created JMS queues. I suggest creating one more DS under the JNDI name DefaultDS and pointing to one of your DB. Check the file attached which is an example of my env. local-tx-datasource jndi-nameEswaadAppDS/jndi-name ... valid-connection-checker-class-name org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker /valid-connection-checker-class-name exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name type-mappingmySQL/type-mapping !-- security-domainMySqlDbRealm/security-domain -- /local-tx-datasource local-tx-datasource jndi-nameEswaadGlobalDS/jndi-name ... valid-connection-checker-class-name org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker /valid-connection-checker-class-name exception-sorter-class-name org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter /exception-sorter-class-name type-mappingmySQL/type-mapping /local-tx-datasource local-tx-datasource jndi-nameDefaultDS/jndi-name ... valid-connection-checker-class-name org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker /valid-connection-checker-class-name exception-sorter-class-name org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter /exception-sorter-class-name type-mappingmySQL/type-mapping /local-tx-datasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133641#4133641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss installing Problem
The -ds.xml file is usually in the deploy folder or in your application package(Ex: .ear file). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133645#4133645 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
here's the list of all the jars in the libs directory of the target war | ./WEB-INF/lib/activation.jar | ./WEB-INF/lib/antlr-2.7.6.jar | ./WEB-INF/lib/asm.jar | ./WEB-INF/lib/bsh.jar | ./WEB-INF/lib/cglib.jar | ./WEB-INF/lib/commons-collections.jar | ./WEB-INF/lib/commons-io-1.3.2.jar | ./WEB-INF/lib/commons-logging.jar | ./WEB-INF/lib/dom4j.jar | ./WEB-INF/lib/hibernate3.jar | ./WEB-INF/lib/hsqldb.jar | ./WEB-INF/lib/jackrabbit/commons-collections-3.1.jar | ./WEB-INF/lib/jackrabbit/concurrent-1.3.4.jar | ./WEB-INF/lib/jackrabbit/derby-10.2.1.6.jar | ./WEB-INF/lib/jackrabbit/geronimo-jta_1.0.1B_spec-1.0.1.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-api-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-classloader-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-core-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-jcr-commons-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-jcr-rmi-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-jcr-server-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-jcr-tests-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-text-extractors-1.3.jar | ./WEB-INF/lib/jackrabbit/jackrabbit-webdav-1.3.jar | ./WEB-INF/lib/jackrabbit/jcr-1.0.jar | ./WEB-INF/lib/jackrabbit/log4j-1.2.13.jar | ./WEB-INF/lib/jackrabbit/lucene-core-2.0.0.jar | ./WEB-INF/lib/jackrabbit/nekohtml-0.9.4.jar | ./WEB-INF/lib/jackrabbit/pdfbox-0.6.4.jar | ./WEB-INF/lib/jackrabbit/poi-2.5.1-final-20040804.jar | ./WEB-INF/lib/jackrabbit/slf4j-api-1.3.0.jar | ./WEB-INF/lib/jackrabbit/slf4j-log4j12-1.3.0.jar | ./WEB-INF/lib/jackrabbit/tm-extractors-0.4.jar | ./WEB-INF/lib/jackrabbit/xercesImpl-2.8.1.jar | ./WEB-INF/lib/jackrabbit/xml-apis-1.3.03.jar | ./WEB-INF/lib/jboss-backport-concurrent.jar | ./WEB-INF/lib/jboss-j2ee.jar | ./WEB-INF/lib/jboss-retro-1.1.0-rt.jar | ./WEB-INF/lib/jbpm-identity.jar | ./WEB-INF/lib/jbpm-jpdl.jar | ./WEB-INF/lib/jcr-1.0.jar | ./WEB-INF/lib/log4j.jar | ./WEB-INF/lib/mail.jar | ./WEB-INF/lib/ojdbc14.jar | ./WEB-INF/lib/resolver.jar | ./WEB-INF/lib/saxon/saxon9-ant.jar | ./WEB-INF/lib/saxon/saxon9-dom.jar | ./WEB-INF/lib/saxon/saxon9-dom4j.jar | ./WEB-INF/lib/saxon/saxon9-jdom.jar | ./WEB-INF/lib/saxon/saxon9-s9api.jar | ./WEB-INF/lib/saxon/saxon9-sql.jar | ./WEB-INF/lib/saxon/saxon9-xom.jar | ./WEB-INF/lib/saxon/saxon9-xpath.jar | ./WEB-INF/lib/saxon/saxon9-xqj.jar | ./WEB-INF/lib/saxon/saxon9.jar | ./WEB-INF/lib/saxon/saxon9sa-jaxp.jar | ./WEB-INF/lib/saxon/saxon9sa-qc.jar | ./WEB-INF/lib/saxon/saxon9sa.jar | ./WEB-INF/lib/serializer.jar | ./WEB-INF/lib/xalan.jar | ./WEB-INF/lib/xercesImpl.jar there are some webservices in the code. All the services build on the jbpm libraries, if you think thats where the problem lies, can you give me some sort of indication where to go looking. I fully apreciate you have no idea what they're doing, to be honist neither do i so its pointless me trying to explane them. If you do think thats where i should look though please can you use explanations for the thick... i really don't want to go continualy bugging the community with noob questions. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133648#4133648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - messages stuck in queues
we upgraded from the following: JBoss Messaging 1.4.0.GA JBoss Remoting 2.2.2.SP1 to: JBoss Messaging 1.4.0.SP3 JBoss Remoting 2.2.2.SP4 Suddenly, under load we are getting messages stuck in queues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133651#4133651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Is v1.4.1 completely compatible with v1.4.0
anonymous wrote : Can I delete a member from one cache's member view (delete the other member who has essentially died)? If it is, How can i do it? That's not the way to go. It is JGroups's failure detection protocol(FD) that should manage member removal/addition. I suggest you read /tune the Failure Detection section in the JGroups manual View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133653#4133653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
anonymous wrote : ./WEB-INF/lib/jboss-j2ee.jar including JBoss jars in custom applications usually brings you in trouble ;-) I'd remove at least this one (and check for others that might be duplicates of the ones in jboss/config/lib) and give it another try... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133654#4133654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: StackOverflow with Seam and @BeginTask
OK, thank you for your information. Somewhere, I found that my problem *might* exist because I have two hibernateSessions, one for my application itself and one for the jBPM engine. Therefore, I am currently searching for a way to use my Spring hibernateSessionFactory bean as session factory for jBPM, too. Is there any possibility to do this? Also see a thread in the Seam forum at http://www.seamframework.org/Community/SpringSessionFactoryForSeamjBPMintegration, if you are interested in this topic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133652#4133652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to write Jboss Web Service Client for JBoss 4.0.4 GA
I'm using JBoss 4.2.2.GA App Server on Windows. I have a WSDL web service to consume. I did execute wsconsume command, it created Java files out of WSDL and I don't know what to do next. Do i need to write any XML config? Client java class? Servlet? Can you please guide me? thank you very much for all your help. Regards, -Amol View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133655#4133655 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: parameters with state
explain what you mean by 'parameter' please. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133658#4133658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: webmethod within a jsp-file
Accessing a web method from a jsp (or servlet) is no different from accessing a web method from any other client. The JBossWS documentation contains the necessary steps for building a client. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133657#4133657 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Message Driven Bean not working with jBPM
Chris, MDB's always have to be in a jar. That's how you deploy them. You cannot put them in the jbpm processarchive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133660#4133660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )
Sajith, jaikiran already answered your question. Did you read the wiki entry he referenced? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133663#4133663 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Injecting the hibernate session
Hi, I have the following code within a Message Driven Bean, I can get it to create a JbpmContext however I'm getting stuck with regards to Injecting the hibernate session... Eclipse is stating that I cannot make a static reference to the none static ethod getCurrentSession() from the type SessionFactory I'm following this from Chaper 7 page 5 on the jbpm guide. (7.1.4) | package com.distributed.jbpm.mdb; | | import javax.ejb.MessageDriven; | import javax.ejb.ActivationConfigProperty; | | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.MessageListener; | import javax.jms.TextMessage; | | import org.jbpm.JbpmConfiguration; | import org.jbpm.JbpmContext; | import org.jbpm.graph.exe.ProcessInstance; | import org.hibernate.*; | | | | @MessageDriven(activationConfig = | { | @ActivationConfigProperty(propertyName=acknowledgeMode, propertyValue = Auto-acknowledge), | @ActivationConfigProperty(propertyName=destinationType, propertyValue=javax.jms.Queue), | @ActivationConfigProperty(propertyName=destination, propertyValue=/queue/jbpmQueueTwo) | }) | | public class PartTwoMDB implements MessageListener | { | static JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | | public void onMessage(Message inMessage) | { | TextMessage textMessage = null; | try | { | if(inMessage instanceof TextMessage) | { | textMessage = (TextMessage) inMessage; | System.out.println(PartTwoMDB: Message received: + textMessage.getText()); | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | System.out.println(PartTwoMDB: jbpmContextCreated); | try | { | jbpmContext.setSession(SessionFactory.getCurrentSession()); | String processDefinitionName = processTwo; | System.out.println(PartTwoMDB: processDefinitionName * + processDefinitionName + * String created.); | ProcessInstance processInstance = jbpmContext.newProcessInstance(processDefinitionName); | System.out.println(PartTwoMDB: Instance + processInstance.toString() + Loaded.); | processInstance.signal(); | System.out.println(PartTwoMDB: Instance signal sent.); | } | finally | { | jbpmContext.close(); | } | | } | else | { | System.out.println(PartTwoMDB: Message of wrong type: + inMessage.getClass().getName()); | } | } | catch (JMSException e) | { | e.printStackTrace(); | } | catch (Throwable t) | { | t.printStackTrace(); | } | | } | } | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133664#4133664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Thread contention in FieldInstantiator.parseConfiguration
We are tunning our application, and profiling it, and we have seen that there is too much time spent in FieldInstantiator.parseConfiguration(String configuration). I don`t understund why this should be parsed in every run of the process. I thought that the execution graph is made the first time the process is loaded, and then we could make process executions of that process graph. Is this correct? I might be creating the process graph every time I try to run a process Instance. How can a create the process graph, and reuse it for multiple process executions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133661#4133661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: error when changing identity data source
I think you did more work than what you had to. You should leave the hsqldb as is - there are other services in the app server that rely on it. Read the documentation, it tells you how to set up a different database: http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/installation.html#d0e696 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133662#4133662 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Accessing an external resource via JNDI
I think you are looking for this: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories. Even though that wiki entry is for older versions of jbossas the technique still works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133666#4133666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - entity bean
when iam deploying entity bean it is deployed sucessfully when i enter ant run at the command prompt it is generating error run: [java] Exception in thread main javax.naming.NameNotFoundException: remot e not bound [java] at org.jnp.server.NamingServer.getBinding(NamingServer .java:529) [java] at org.jnp.server.NamingServer.getBinding(NamingServer .java:537) [java] at org.jnp.server.NamingServer.getObject(NamingServer. java:543) [java] at org.jnp.server.NamingServer.lookup(NamingServer.jav a:296) [java] at org.jnp.server.NamingServer.lookup(NamingServer.jav a:270) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeM ethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Del egatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastSer verRef.jav a:305) [java] at sun.rmi.transport.Transport$1.run(Transport.java:15 9) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.rmi.transport.Transport.serviceCall(Transport.j ava:155) [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(T CPTranspor t.java:535) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandle r.run0(TCP Transport.java:790) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandle r.run(TCPT ransport.java:649) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runT ask(Thread PoolExecutor.java:885) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPool Executor.java:907) [java] at java.lang.Thread.run(Thread.java:619) [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceive dFromServe r(StreamRemoteCall.java:255) [java] at sun.rmi.transport.StreamRemoteCall.executeCall(Stre amRemoteCa ll.java:233) [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:14 2) [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) [java] at org.jnp.interfaces.NamingContext.lookup(NamingConte xt.java:62 5) [java] at org.jnp.interfaces.NamingContext.lookup(NamingConte xt.java:58 7) [java] at javax.naming.InitialContext.lookup(InitialContext.j ava:392) [java] at x.Client.main(Client.java:12) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 3 minutes 42 seconds D:\software\jayendra\EJB\EntityBeanant clean Buildfile: build.xml clean: [delete] Deleting directory D:\software\jayendra\EJB\EntityBean\build [delete] Deleting: D:\Program Files\jboss-4.0.5.GA\server\default\deploy\Ent. jar BUILD FAILED D:\software\jayendra\EJB\EntityBean\build.xml:85: Unable to delete file D:\Progr am Files\jboss-4.0.5.GA\server\default\deploy\Ent.jar Total time: 2 seconds View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133667#4133667 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
exact builds using: JBM: Specification-Version: 1.4.0.SP3 Implementation-Version: 1.4.0.SP3 (build:CVSTag=JBossMessaging_1_4_0_ SP3_CP01 date=200712141423) JBR: Specification-Version: 2.2.2.SP4 Implementation-Version: 4.3.0.GA (build: VNTag=JBPAPP_4_3_0_GA date=200801031548) I can see my consumer count is 1, thus a consumer is definately active. The queue also has an expiry queue configures, so it is queries that my messages aren't getting expired after the 60 seconds I configure them to be. The messages are all non-persistent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133669#4133669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: steps / guide to consume WSDL web service
Did you read the documentaiton? http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide#Web_Service_Clients I agree that it is not very clear, but the steps are all there is you look for them. I also have another resource that has the steps laid out more clearly, but it is not free, I can supply the url if you like. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133671#4133671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: steps / guide to consume WSDL web service
thanks Peter. Yes, that would be great. Please pass on the URL. best regards, -Amol View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133672#4133672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - war file deployed is notworking!!
Hello, My war file deployed to Jboss is not working. To verify this is not a problem of my code, I downloaded the HelloWorld servlet and test it. I created a war file and deployed it to jboss. I get same error message: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Wrapper cannot find servlet class com.tmg.servlets.HelloWorld or a class it depends on org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) java.lang.Thread.run(Thread.java:595) root cause java.lang.ClassNotFoundException: com.tmg.servlets.HelloWorld org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) java.lang.Thread.run(Thread.java:595) note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs. The war file contains class fil, web.xml. can any body help? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133674#4133674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: steps / guide to consume WSDL web service
The book JBoss in Action has a chapter dedicated to web services and contains a complete example application with step-by-step instructions for building and configuring the web service and client. The book is not published yet (it is based on JBossAS 5, which is not out yet, but the web services will run with 4.2.x), but the publisher has an early access program that enables you to get access to the un-edited chapters right now. http://www.manning.com/jamae View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133675#4133675 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Please post the contents of you war file. Do this: jar -tf xxx.war and post the results. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133676#4133676 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Switching the Database Backend
After searching on google i found that i should also add the following in the hibernate.cfg.xml file: org.hibernate.cache.EhCacheProvider However this still doesnt solve the problem and i get the same exception. Any help would be mostly appreciated since i am stuck at this point and dont know what else to try! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133680#4133680 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: jms/jndi issue
found someting interesting here: http://www.jboss.org/index.html?module=bbop=viewtopict=112107 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133686#4133686 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: parameters with state
i have for example this code: | start-state name=a | transition to=b name=bTS/transition | /start-state | | | state name=b | transition to=c name=cTS/transition | /state | i want, when i am in state 'b', access an parameter that is declared for that state. do you understand? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133688#4133688 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Admin Portlet: Adding a listener to a window?
Hi using this development setup: * Version: jboss-portal-2.6.1.GA * Download Version * JBoss AS Version: 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] * Database: Mysql 5.0.51a-community-nt * JDBC Connector and Version: mysql-connector-java-5.0.5-bin.jar * OS Platform: Windows XP 32-Bit Is it possible to add a listener to a window instance via the admin portlet? Setting the listener via the *-object.xml does work, but we want an admin to be able to add / remove the listner. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133690#4133690 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
I can not attach my war file. here are containts of my war file: HelloWorld.class HelloWorld.java web.xml Manifest.mf ( idon't know where is this file came from. I did not have that file) That's it. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133683#4133683 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Unable to create native thread
Hi guys, Currently, I am using JBoss AS 4.2.2 and JBoss Messaging 1.4 SP3. When I put the messaging server under load, the number of the threads were increasing until I got Out of Memory: Unable to create native thread 2008-02-29 20:41:10,267 [ERROR] [WorkerThread#26[172.21.101.9:52414]] server.endpoint.ServerSessionEndpoint: Failed to prompt delivery | java.lang.OutOfMemoryError: unable to create new native thread | at java.lang.Thread.start0(Native Method) | at java.lang.Thread.start(Thread.java:597) | at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor.restart(QueuedExecutor.java:142) | at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor.execute(QueuedExecutor.java:157) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.promptDelivery(ServerSessionEndpoint.java:1539) | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.promptDelivery(ServerConsumerEndpoint.java:643) | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.changeRate(ServerConsumerEndpoint.java:420) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised.org$jboss$jms$server$endpoint$advised$ConsumerAdvised$changeRate$aop(ConsumerAdvised.java:69) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised$changeRate_N952316153687074823.invokeNext(ConsumerAdvised$changeRate_N952316153687074823.java) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised$changeRate_N952316153687074823.invokeNext(ConsumerAdvised$changeRate_N952316153687074823.java) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised.changeRate(ConsumerAdvised.java) | at org.jboss.jms.wireformat.ConsumerChangeRateRequest.serverInvoke(ConsumerChangeRateRequest.java:71) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | When I dump the threads, I found many waiting threads. Thread: Thread-5097 : priority:5, demon:false, threadId:20461, threadState:WAITING, lockName:[EMAIL PROTECTED] | | java.lang.Object.wait(Native Method) | java.lang.Object.wait(Object.java:485) | EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(LinkedQueue.java:122) | EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:83) | java.lang.Thread.run(Thread.java:619) In several hours, the number of this kind of threads can be more than 3000 threads, and they seem waiting forever. Do you have any idea, why this can be happened? Does my application forget to free the threads? In what occasion the waiting threads are created and how to notify the threads so they are not waiting anymore? My application is using client acknowledge. When a message is coming, it will be sent to another queue, before acknowledged. Thank you for your time. Best Regards, Hendra View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133694#4133694 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Could not obtain connection to a url
I've solved it with: | Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | props.put(Context.PROVIDER_URL, jnp://x.x.x.x:1099); | props.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133691#4133691 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
I know you cannot attach the war file, that is why I told you to run the jar utility and post its output. Please do so. If the list of files you gave is accurate, then your war file is not built correctly. Also, please post the contents of web.xml. Make sure you surround the contents with [ code ]...[ /code ] brackets (without the spaces), and preview your post before submitting (raw xml content will not post correctly). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133693#4133693 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access HelloPortal
in JbossPortal 2.6.4, I can get access to HelloPortal from: http://localhost:8080/portal/portal/HelloPortal/default http://localhost:8080/portal/portal/HelloPortal didn't work View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133696#4133696 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
Hello Wickus- Can you ensure that you upgraded to remoting 2.2.2.SP4 on both client and server side? We had a few issues reported that sounded like this when remoting wasn't upgraded to 2.2.2SP4 everywhere in the system. Remoting 2.2.2.SP4 is not compatible with earlier versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133697#4133697 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to create native thread
I would check if you are creating a lot of sessions somewhere and not closing them. Common causes would be creating a connection, session, sending a message etc from inside an ejb, but not using the JCA managed connection factory at java:/JmsXA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133698#4133698 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to send message
It means you're trying to send a message on a closed session which is illegal. Try and find where in your code the session is being closed. A common possibility would be you have an exception listener which closes the connection (which closes the session). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133700#4133700 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Could not obtain connection to a url
But... now I don'r know exactly how make the communication between JBoss and remote jboss jbpm server... are there any documentation that it can help me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133702#4133702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: steps / guide to consume WSDL web service
Thanks Author! Best regards, -Amol View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133707#4133707 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Thanks, Sir, Now I can see the HelloWorld example after modifying the build.xml. But I still can not see my own application which invokes MS SQL server. The meesage I have is : 2008-03-03 12:28:21,156 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc.sqlserver.SQLServerDriver It seems the MSSQL jar files are not found. But I did include them in the jar war file. I should send you my war file but when I run the jar or war commands in coomandline, it says there is no jar command recognized. But I did use war in my build.xml. Could you please tell what I have to set to make coommand line knows the jar coomand? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133709#4133709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - java.io.NotSerializableException POJOCache
Hi All, I am using PojoCache and creating it in the following manner: (Create configuration by passing an inputstream, and creating a pojoCache using the PojoCacheFactory) Configuration jbossCacheConf = (new XmlConfigurationParser() | { | public Configuration parseInputStream(InputStream _inStream) | { | return parseStream(_inStream); | } | }).parseInputStream(inStream); | | pojoCache = PojoCacheFactory.createCache(jbossCacheConf, false); | pojoCache.start(); In a clustered environment, when I do attach, I get the following exception java.io.NotSerializableException. The object has the following annotation: @org.jboss.cache.pojo.annotation.Replicable | public class CacheElement{/*some stuff*/} From what I understand.. pojoCache does not require serialization, so am not sure why I keep getting this exception. I have seen the example configuration META-INF/replSync-service.xml. My configuration is pretty similar except it has no cache loader + the MBean tag's attribute, code = org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper but has the same name i.e. = jboss.cache:service=TreeCache Am not sure if changing the name will cause any problem, for example to: jboss.cache:service=XYZCache, but for now am using the same name. Can anyone please give me any pointers as to what I am doing incorrectly. Any help is much appreciated. Thanks, Rakesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133717#4133717 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Port 1098 is taken
There is a very quick solution to this. In the server/xxx/conf directory there is jboss-service.xml Search for the tag: ServiceBindingManager. Now Uncomment the whole mbean. Opposite to serverName you can find ports-01. In most of the cases it can remain the same. Just restart the server. If you are interested you can open and see the sample-bindings.xml where all the ports are configured. This is a fail proof way to get over the ports problem. thanks Anil. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133720#4133720 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - bindings.xjc file for JAVA to WSDL approach
Can I pass in bindings.xjc, so the global rules in the bindings file will be used when JBossWS generates WSDL from source? I am using JAXB for binding. Or by throwing this file in the path or any specific location could I make the implementation to use this for generating WSDL schema. I need all the BigDecimal in Java to be extended as nillable type in the generated XSD. I can do this by the @XMLElement annotation on the property. But I want this rule to be applied globally for any Schema generated by the JBoss-WS stack. Any idea or clarification on whether this is possible or not will be helpful. Regards, Srini View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133722#4133722 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
The jar command is in JAVA_HOME/bin, make sure that is in your PATH. Place the JAR file containing the JDBC driver into the server/xxx/lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133723#4133723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to run multiple instances of JBoss on a single syste
I think you are looking for this part of the documentation: http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Services_Binding_Management-The_Sample_Bindings_File.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133724#4133724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: specify task time window
kukeltje wrote : due dates can use EL now as well (see the docs) That way you can set an absolute due date if it e.g. is in a processvariable. Thanks, had done this with an action handler, as per the example on the wiki contributions page. kukeltje wrote : And if the 'start date' does not need to be real (the task appearing at that time), use just a processvariable for that. If you do want see the task not before that specific date, use a state with a timer that transitions to the task if the timer is fired I guess the processvariable approach is the way to go, I was wondering if there was something built in that I missed i.e. task to start no earlier than and finish no later than, or a task duration. This would be useful for assigning actors based on existing task assignments. P.S. Is there any interest in an iCalendar wrapper such as I've described? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133727#4133727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to run multiple instances of JBoss on a single syste
Thanks Jon for reply.. Currently I am having the following issue. will try to solve it. C:\jboss4.2-j2ee-examples-1.01\server-config-guideant Buildfile: build.xml validate: fail_if_not_valid: BUILD FAILED C:\jboss4.2-j2ee-examples-1.01\server-config-guide\build.xml:60 jboss.dist=./../../../../jboss-eap-4.2/jboss-as is not a valid JBoss dist dire tory Total time: 1 second View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133729#4133729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error indexing root node in portal-cms
Currently we are using Jboss portal 2.6.4 with Jboss AS 4.2.2-GA. Both of which were downloaded as binary archives from the main download site. We use Mysql 5 for our database and running on Linux. We have not had any problems with the portal-cms or portal server until recently. Upon startup of the portal system, the CMS fails to initialize with the following error: 20:53:47,172 ERROR [RepositoryImpl] Failed to initialize workspace 'default' | javax.jcr.RepositoryException: Error indexing root node: a9866f0e-1480-4556-b851-16a57747818c: Error indexing root node: a9866f0e-1480-4556-b851-16a57747818c: Error indexing root node: a9866f0e-1480-4556-b851-16a57747818c | at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:525) | at org.apache.jackrabbit.core.SearchManager.init(SearchManager.java:267) | at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1509) | at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:546) | at org.apache.jackrabbit.core.RepositoryImpl.init(RepositoryImpl.java:254) | at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:497) | at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:104) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:302) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:267) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73) | at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:486) | at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.startService(JBossServiceModelMBean.java:452) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at org.jboss.portal.jems.as.system.JBossServiceModelMBean$6.invoke(JBossServiceModelMBean.java:374) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy189.start(Unknown Source) |
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
This is my war file: META-INF/ META-INF/MANIFEST.MF classes/ classes/com/ classes/com/tmg/ classes/com/tmg/servlets/ lib/ src/ src/com/ src/com/tmg/ src/com/tmg/servlets/ classes/com/tmg/servlets/FileNetServlet.class classes/com/tmg/servlets/HelloWorld.class filenet.properties lib/log4j-1.2.15.jar lib/msbase.jar lib/mssqlserver.jar lib/msutil.jar log4j.properties src/com/tmg/servlets/FileNetServlet.java src/com/tmg/servlets/HelloWorld.java web.xml WEB-INF/ WEB-INF/web.xml my web.xml: !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd' web-app servlet-nametmgfile/servlet-name servlet-classcom.tmg.servlets.FileNetServlet/servlet-class init-param param-namelog4j-init-file/param-name param-value/WEB-INF/log4j.properties/param-value /init-param servlet-namehelloworld/servlet-name servlet-classcom.tmg.servlets.HelloWorld/servlet-class servlet-mapping servlet-nametmgfile/servlet-name url-pattern/tmgfile/url-pattern /servlet-mapping servlet-mapping servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern /servlet-mapping /web-app my build.xml: !-- Create build/dist directories as needed -- !--javac srcdir=${src.dir} destdir=${build.dir} classpathref=project.class.path/-- !--fileset dir=${build.dir}/-- !--fileset dir=${basedir}/WEB-INF excludes=${class.dir}/-- Please take a look and let me know what I did wrong. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133738#4133738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Sorry, this my build.xml !-- Create build/dist directories as needed -- !--javac srcdir=${src.dir} destdir=${build.dir} classpathref=project.class.path/-- !--fileset dir=${build.dir}/-- !--fileset dir=${basedir}/WEB-INF excludes=${class.dir}/-- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133739#4133739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Jboss 4.2.2 with hibernate-entitymanager-3.3.1.GA
Hi all, Is it only me, or every body else know how to get around this ? Heres my situation: I dont want to use hibernate jars which comes in Jboss4.2.2 distribution. These jars are old (3.2.1). I want to use the latest version with Jboss4.2.2. I tried keeping my ear file isolated using the tag in ear-deployer.xml. But I am getting the classic ClassCastException. Somehow Jboss always wants to use its version of hibernate jar files. Any help is highly appreciated !! thanks Anil. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133742#4133742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to run multiple instances of JBoss on a single syste
What does the ant run have to do with the initial problem you posted? It looks like the ant script is looking for the app server in the wrong directory. There is probably a properties file that declares where jbossas is installed, modify that to fit your location. Most likely, something like this: jboss.home=C:/somedir/programs/jboss-4.2.2.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133743#4133743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to run multiple instances of JBoss on a single syste
And here are some basic steps to get you started on running multiple app servers: 1) Unzip the jbossas binary zip file. 2) Make two copies of ./server/default, for example, as ./server/server1 and ./server/server2 3) Read about the binding service (I gave you the link earlier), and then: 3a) Set up the sample-bindings.xml file 3b) Modify the ./server/xxx/conf/jboss-service.xml files for both server1 and server2 to use the sample-bindings.xml file Then run the two servers as follows: run -c service1 run -c service2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133745#4133745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss 4.0.4GA - Error generating Web Service Consumer code
Hello, I have been trying to generate a web service consumer code in JBoss4.0.4 GA form WSDL that has dot-net service endpoint. However, using wstools ant task I got the following error.. | [wstools] java.lang.NullPointerException | [wstools] at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:2 | 84) | [wstools] at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:3 | 33) | [wstools] at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:355) | [wstools] at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:174 | ) | [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGenera | tion(ToolsHelper.java:326) | [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) | [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja | va:288) | [wstools] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | [wstools] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [wstools] at java.lang.reflect.Method.invoke(Method.java:585) | [wstools] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU | tils.java:105) | [wstools] at org.apache.tools.ant.Task.perform(Task.java:348) | [wstools] at org.apache.tools.ant.Target.execute(Target.java:357) | [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:385) | [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav | a:1329) | [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) | | [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De | faultExecutor.java:41) | [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1181 | ) | [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:698) | [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:199) | [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) | [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) | | BUILD FAILED | c:\ws-test\EnNet\ws_client_build.xml:102: Error running jbossws: | | Total time: 7 seconds | -- Configuration file (wstolls-config.xml) | | ?xml version=1.0 encoding=UTF-8? | configuration |xmlns=http://www.jboss.org/jbossws-tools; |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation= |http://www.jboss.org/jbossws-tools | http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd; | wsdl-java file=http://192.168.0.160:8090/wsdl/IEnNET?wsdl; | !-- | mapping file=jaxrpc-mapping.xml / | -- | /wsdl-java | /configuration | -- The same error happen when I use wstools.bat, look below.. | C:\WS-Test\EnNetc:\dev\jboss\jboss-4.0.4.GA\bin\wstools -config wstools-config. | xml -dest dest | = | . | WSTools Environment | . | JBOSS_HOME: c:\DEV\JBoss\jboss-4.0.4.GA\bin\\.. | . | JAVA: C:\Program Files\Java\jdk1.5.0_13\bin\java | . | JAVA_OPTS: | . | = | . | Exception in thread main java.lang.NullPointerException | at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:284) | at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:333) | at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:355) | at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:174) | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too | lsHelper.java:326) | at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) | at org.jboss.ws.tools.WSTools.main(WSTools.java:61) | Can someone help on this issue please? Thanks, Surafel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133746#4133746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can get to jboss portal via localhost - nothing else can
Is there a way to integrate the -b 0.0.0.0 option using the JavaService setup? So far the only way I found was to edit the InstallJBoss.bat and add ' -params -b 0.0.0.0 ' This works, but it feels a bit hacky (i.e. harder to maintain/document). Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133747#4133747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - haSingleton JMS + cluster (publisher node receiving its mess
Hi All, Env.: Jboss-4.0.2 in cluster with haSingleton Is there a way to the node who publish the message do not receive it ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133748#4133748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
anonymous wrote : Make sure you surround the contents with [ code ]...[ /code ] brackets (without the spaces), and preview your post before submitting (raw xml content will not post correctly). In your war file, the classes directory is in the wrong location, it should be in WEB-INF. Ditto for the lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133749#4133749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can get to jboss portal via localhost - nothing else can
For JavaService, that is the correct way to add extra command line arguments (). There is nothing hacky about it. Optionally, because JavaService stores starup information in the registry, you can also edit the HKLM\SYSTEM\CurrentControlSet\Services\xxx\Parameters key, changing the Start Param Count and Start Param Number N entries. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133750#4133750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user