[jBPM Users] - Re: JBPM Java Task return value
by kukeltje
Thanks for getting back and glad that it works.
If you do not mind I like to give you some additional tips.
First of all it is no problem being new to something and asking questions, not at all. We welcome all new users :-) But there are reasons behind my comments on how and where to post. It keeps the forums clean and topics well... on topic and thus easier for others to find if they use search functionality.
Secondly, us asking for a fully integrated unittest instead of just some code and a processdefinition also has a reason. It is the most explicit way of stating what you do and expect and we can fairly easily run it on our side and see/debug what happens if it really is a bug in jBPM.
Thirdly, regarding posting something, many forums (including this one) have options for putting in code/xml. In this forum use the [c o d e] tag (without spaces, also see the preview button) The # instead of < is not needed then.
Regarding debugging, that is also something you can do yourself and seeing the processinstance is null is something can see then yourself.
And last but not least, if you solve something, it is good practise to not also report back that you solved it, but e.g. also confirm that we were right, or that it was another issue and than also state what that other issue is. Others can learn from that.
What I still do not get (talking about confusion ;-)) is what you mean by
anonymous wrote : I do understand my execution is ending. But not able to find it ...
And that you say it works with a java task, but what you post *has* a java task...
And for everybody: If there are no wait states in your processdefinition, it is ended when the startProcessInstanceXXX returns. When it ends, jBPM removes it from the active list and put it in the history, so you cannot retrieve variables, or whatever anymore based on id's. The 4.1 release will, instead of throwing an exeption, tell you the instance cannot be found.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251851#4251851
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251851
16 years, 8 months
[jBPM Users] - File upload and JBPM:form
by TejJBPM
Hi all
I am trying to implement a File upload button in my task form using JSF. I am able to see the button and when i click on upload the enctype is not set properly. I think the problem is i am setting the enctype in h:form and jbpm:dataform is not able to understand or parse that..is there any obvious issues with this..any other alternative fix to this issue?
| <jbpm:dataform>
| <jbpm:datacell>
| <h:form id="uploadForm" enctype="multipart/form-data">
| <h:panelGrid columns="3">
| <f:facet name="header">
| <h:outputLabel value="Select file" />
| </f:facet>
| <t:inputFileUpload id="file" value="#{FileUploadBean.uploadedFile}" storage="file" immediate="true" required="true" />
| <h:message for="file" style="color: red;" />
| <h:panelGroup />
| <h:commandButton value="Upload" action="#{FileUploadBean.submit}" />
| <h:message for="uploadForm" infoStyle="color: green;" errorStyle="color: red;" />
| </h:panelGrid>
| </h:form>
| <h:outputLink value="file/#{FileUploadBean.fileName}" rendered="#{FileUploadBean.fileName != null}">
| Download back
| </h:outputLink>
| </jbpm:datacell> </jbpm:dataform>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251844#4251844
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251844
16 years, 8 months
Fail to get tables by a remote Datasource deployed in JBOSS
by Zeke
Hi, all:
I try to use DatabaseMetaData to get all tables and views from a
Oracle database. But exception is thrown at the red line. You can see that I
look up a remote DataSource and get connection from the data source. But if
I use *DriverManager.getConnection(url, user, pwd)* way to get connection.
This issue does not exist. I can get all the tables and views successfully…
Any help from you will be much appreciated!
*public* *class* Test {
*public* *static* *void* main(String[] args) *throws* Exception {
Properties props = *new* Properties();
props.put(Context.*PROVIDER_URL*, "jnp://10.111.3.161:1099");
props.put(Context.*INITIAL_CONTEXT_FACTORY*,
"org.jnp.interfaces.NamingContextFactory");
Context ctx = *new* InitialContext(props);
DataSource ds = (DataSource)ctx.lookup("OracleDS");
Connection conn = ds.getConnection();
DatabaseMetaData dbmd = conn.getMetaData();
ResultSet *rs* = dbmd.getTables(*null*, "%", "%", *new* String[] {
"TABLE", "VIEW" });
}
}
Exception:
Exception in thread "main" *java.lang.ClassCastException*: $Proxy3
at $Proxy2.getTables(Unknown Source)
at Test.main(*Test.java:62*)
16 years, 8 months
[JBoss AOP Users] - JBOSS AOP - Jboss 4.2 Server startup failing
by pvenkatesh
Hi
I have configured the environment variable for JBOSS_ENDORSED_DIRS and have added the following entry at run.bat file
set JAVA_OPTS=%JAVA_OPTS% -javaagent:%JBOSS_ENDORSED_DIRS%\pluggable-instrumentor.jar
Also I have placed the pluggable-instrumentor.jar file at endoresed(E:\ESB\jboss-4.2.2.GA\lib\endorsed) folder
and I have moved the aop deployer folder(jboss-aop-2.1.1.GA) to my E:\ESB\jboss-4.2.2.GA\server\default\deploy location
Also I have enabled load time weaving(true) as follows at jboo-service.xml file
attribute name="EnableLoadtimeWeaving" true /attribute
but when I have started the server(run.bat) I am gettig the following exception
here I have updated the partial log information, If you need I can send you the whole log information.
Please help me to resolve this issue
your inputs are appriciated..
Thanks
Venkatesh
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\ESB\jboss-4.2.2.GA
JAVA: D:\Program Files\Java\jdk1.6.0\bin\java
JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dprogram.name=r
un.bat -server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512 -Dsun.rmi.dgc.client.gcInter
val=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -javaagent:E:\ESB\jboss-4.2.2.GA\lib\endorsed\pl
uggable-instrumentor.jar
CLASSPATH: D:\Program Files\Java\jdk1.6.0\lib\tools.jar;E:\ESB\jboss-4.2.2.GA\bin\run.jar
===============================================================================
Listening for transport dt_socket at address: 8787
20:14:31,265 INFO [Server] Starting JBoss (MX MicroKernel)...
20:14:31,265 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=
200710221139)
20:14:31,265 INFO [Server] Home Dir: E:\ESB\jboss-4.2.2.GA
20:14:31,265 INFO [Server] Home URL: file:/E:/ESB/jboss-4.2.2.GA/
20:14:31,296 INFO [Server] Patch URL: null
20:14:31,296 INFO [Server] Server Name: default
20:14:31,296 INFO [Server] Server Home Dir: E:\ESB\jboss-4.2.2.GA\server\default
20:14:31,296 INFO [Server] Server Home URL: file:/E:/ESB/jboss-4.2.2.GA/server/default/
20:14:31,296 INFO [Server] Server Log Dir: E:\ESB\jboss-4.2.2.GA\server\default\log
20:14:31,296 INFO [Server] Server Temp Dir: E:\ESB\jboss-4.2.2.GA\server\default\tmp
20:14:31,296 INFO [Server] Root Deployment Filename: jboss-service.xml
20:14:32,781 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
20:14:32,781 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
20:14:32,781 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
20:14:34,937 INFO [Server] Core system initialized
20:14:49,343 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
20:14:52,125 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
.
20:14:52,125 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
20:14:52,953 INFO [TransactionManagerService] Starting recovery manager
20:14:53,375 INFO [TransactionManagerService] Recovery manager started
20:14:53,375 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
20:14:59,640 INFO [ServiceConfigurator] Problem configuring service jboss.aop:service=AspectManager
org.jboss.deployment.DeploymentException: No Attribute found with name: JBossIntegrationWrapper
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:371)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
ymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
nner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
20:15:05,390 INFO [ServiceConfigurator] Problem configuring service jboss.j2ee:service=EARDeployer
org.jboss.deployment.DeploymentException: No Attribute found with name: EnablelibDirectoryByDefault
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:318)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
ymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
nner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
20:16:05,265 ERROR [MainDeployer] Could not initialise deployment: file:/E:/ESB/jboss-4.2.2.GA/serve
r/default/deploy/jbossws.sar/
org.jboss.deployment.DeploymentException: Error parsing meta data file:/E:/ESB/jboss-4.2.2.GA/server
/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml; - nested throwable: (java.lang.N
oSuchMethodError: org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.getSchemaBinding()Lorg/j
boss/xb/binding/sunday/unmarshalling/SchemaBinding;)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException
.java:53)
at org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport.parseMetaData(SchemaBindingSim
pleSubDeployerSupport.java:57)
at org.jboss.kernel.deployment.jboss.JBossBeanDeployer.parseMetaData(JBossBeanDeployer.java:
94)
at org.jboss.deployment.SimpleSubDeployerSupport.init(SimpleSubDeployerSupport.java:88)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
ymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
nner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError: org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.ge
tSchemaBinding()Lorg/jboss/xb/binding/sunday/unmarshalling/SchemaBinding;
at org.jboss.kernel.deployment.jboss.JBossBeanDeployer.getSchemaBinding(JBossBeanDeployer.ja
va:89)
at org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport.parseMetaData(SchemaBindingSim
pleSubDeployerSupport.java:51)
... 71 more
20:18:07,515 ERROR [MainDeployer] Could not create deployment: file:/E:/ESB/jboss-4.2.2.GA/server/de
fault/deploy/soapui-client.sar/
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowable
Exception)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
ymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
nner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
...........
.
.
.
..
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251837#4251837
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251837
16 years, 8 months
[jBPM Users] - Re: JBPM Java Task return value
by jbpmjboss11
Sorry... here is jpdl file replaced "<" with "#"
#process name="casecreationtrial" xmlns="http://jbpm.org/4.0/jpdl"#
#start g="36,75,100,47" name="start1"#
#transition g="-49,-29" name="to Retrieve Application" to="Retrieve Application"/#
#/start#
#java class="com.mypackage.MyClass" g="173,70,175,58" method="test" var="answer" name="Retrieve Application" #
#arg##object expr="#{input.apre.force}"/##/arg#
#transition name="to end1" to="end1" g="-42,-18"/#
#/java#
#end g="481,69,92,49" name="end1"/#
#/process#
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251831#4251831
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251831
16 years, 8 months
[JBoss Cache Users] - JBoss Cache 3.2.0 and JBoss 4.2.3
by tbar0711
Hi,
I'm working with JBoss since 2 months. Currently I've got a JBoss 4.2.3 AS running. It implements the JBoss Cache 1.4.1.SP9. Moreover I'm using Hibernate 3.2.4.sp1.
Now I want to improve the performance of my J2EE Application. So I want to replace JBoss Cache 1.4.1.SP9 with JBoss Cache 3.2.0 Malagueta and use the second level cache.
My Questions now are:
Must I first remove the jars from JBoss Cache 1.4.1.SP9 before I put the JBoss Cache 3.2.0 jars into the JBoss lib-directory?
What else do I have to do, that JBoss Cache 3.2.0 works fine (which changes in which files)?
How can I test if everything is correctly installed and works in the right way?
Please don't suggest to go up to JBoss 5 AS because this is currently impossible.
Thanks in advance.
Tom
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251825#4251825
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251825
16 years, 8 months