[JBoss jBPM] - Caused by: org.jbpm.pvm.internal.wire.WireException: couldn'
by SStundzig
Hi,
I've installed the new jbpm4 beta 2 with jboss 5.0.1GA and eclipse jee 3.4 as described in the jBPM User Guide. The setup is running after smaller changes in the JBossStarterAntTask for my mac with ant demo.setup.
Now I could login to the gwt-console.
Great.
If I start a process e.g. Java-1 I got a error page (http-500) in the console and the exception in the jboss log:
10:17:18,202 ERROR [STDERR] Caused by: org.jbpm.api.JbpmException: couldn't load class org.jbpm.examples.java.JohnDoe
| 10:17:18,203 ERROR [STDERR] at org.jbpm.pvm.internal.util.ReflectUtil.loadClass(ReflectUtil.java:62)
| 10:17:18,203 ERROR [STDERR] at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.construct(ObjectDescriptor.java:138)
So I started the eclipse and redeployes the examples with the ant task jbpm.examples -> deploy.examples.
As I can see in the build.xml, the java classes are not packaged in the examples.bar, so I've fixed the ant task:
| <jar destfile="${jbpm.home}/examples/target/examples.bar">
| <fileset dir="${jbpm.home}/examples/target/classes">
| <include name="**/*.class" />
| </fileset>
| <fileset dir="${jbpm.home}/examples/src">
| <include name="**/*.jpdl.xml" />
|
In the gwt-console I've found now java-2, java-3 and so on. But If I start an instance of such a process definition I got the exception above. The examples.bar contains JohnDoe.class.
What could I do?
Regards
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231225#4231225
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231225
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Re: Weird behavior on AS 5 regarding multiple mail sessions
by schueffi
Hi,
as i'm facing the same problem, here some more informations:
Deploying of multiple MailService-mbeans seems working fine: twiddle.sh or the jmx-console shows the right values in the respective MailServices.
The problem occurs during runtime, when one obtains a javax.mail.Session from the JNDI-Context. Now, this Session always is initialized with the values of the last mailservice deployed, regardless of which jndi-name is used to retrieve this mailsession.
This error could be related to https://jira.jboss.org/jira/browse/JBAS-5896, as there is a "sharedSession" mentioned. In my opinion, it should not matter if this sharedSession is enabled or disabled by default, as we should have one sharedSession _per registered mbean_ (i do not know if the sharedSession mentioned in the bug report is one per server, or one per mail-mbean. One per server would be only useful if you never will use more than one different mailservice.
I filed a jboss bug report, https://jira.jboss.org/jira/browse/JBAS-6923.
Example to reproduce:
See post from leonardomadrigal.
Deploy two or more mailservices. For the sake of this example, deploy them each as individual files.
Run his example application.
Touch one of the deployed mailservices.
Run the example application again. You always will see the properties of the last (just touched) mail-service.
Workaround: none known yet.
regards
Stefan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231212#4231212
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231212
17 years, 2 months
[JBoss/Spring Integration] - Re: jboss and spring libraries
by pelirr
First, thanks for ask me.
Jboss version is 5.0.0
Libreries of spring are: spring.jar 2.5.5, spring-core.jar, spring-test-2.5.1.jar, spring-web.jar and spring-webmvc.jar.
And the complete stacktrace is:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\Archivos de programa\jboss\jboss-5.0.0.GA
JAVA: c:\Archivos de programa\Java\jdk1.6.0_13\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resol
ver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: C:\Archivos de programa\jboss\jboss-5.0.0.GA\bin\run.jar
===============================================================================
09:00:52,086 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:00:52,102 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA
date=200812042120)
09:00:52,102 INFO [ServerImpl] Bootstrap URL: null
09:00:52,102 INFO [ServerImpl] Home Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA
09:00:52,102 INFO [ServerImpl] Home URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/
09:00:52,102 INFO [ServerImpl] Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/
lib/
09:00:52,102 INFO [ServerImpl] Patch URL: null
09:00:52,102 INFO [ServerImpl] Common Base URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
.GA/common/
09:00:52,102 INFO [ServerImpl] Common Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.
0.0.GA/common/lib/
09:00:52,102 INFO [ServerImpl] Server Name: default
09:00:52,102 INFO [ServerImpl] Server Base Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
09:00:52,102 INFO [ServerImpl] Server Base URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
.GA/server/
09:00:52,102 INFO [ServerImpl] Server Config URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0
.0.GA/server/default/conf/
09:00:52,102 INFO [ServerImpl] Server Home Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
\default
09:00:52,102 INFO [ServerImpl] Server Home URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
.GA/server/default/
09:00:52,102 INFO [ServerImpl] Server Data Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
\default\data
09:00:52,102 INFO [ServerImpl] Server Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.
0.0.GA/server/default/lib/
09:00:52,102 INFO [ServerImpl] Server Log Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server\
default\log
09:00:52,102 INFO [ServerImpl] Server Native Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\serv
er\default\tmp\native
09:00:52,102 INFO [ServerImpl] Server Temp Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
\default\tmp
09:00:52,102 INFO [ServerImpl] Server Temp Deploy Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA
\server\default\tmp\deploy
09:00:54,368 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Archivos%20de%20progr
ama/jboss/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
09:00:55,900 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.Iterable
TimedVFSCache]
09:00:55,946 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution
=60}]
09:00:56,650 INFO [CopyMechanism] VFS temp dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
\default\tmp
09:00:56,712 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
09:00:59,885 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
09:00:59,885 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
09:00:59,885 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
09:01:00,025 INFO [JMXKernel] Legacy JMX core initialized
09:01:04,385 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profi
leservice.repository.SerializableDeploymentRepository@198d9cf(root=C:\Archivos de programa\jboss\jbo
ss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=defau
lt,name=default])
09:01:04,401 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.
SerializableDeploymentRepository@198d9cf(root=C:\Archivos de programa\jboss\jboss-5.0.0.GA\server, k
ey=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
09:01:04,401 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl(a)3f58bb{key=org.jboss.profileserv
ice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
09:01:08,292 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:01:09,417 ERROR [Naming] Could not start on port 1099
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
at org.jnp.server.Main.initBootstrapListener(Main.java:439)
at org.jnp.server.Main.start(Main.java:386)
at org.jboss.naming.NamingService.startService(NamingService.java:309)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
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:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
ptor.java:140)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
Bootstrap.java:274)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
rap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
09:01:21,528 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
09:01:21,528 INFO [NativeServerConfig] 3.0.4.SP1
09:01:55,518 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jnd
i/rmi://127.0.0.1:1090/jmxconnector
09:01:56,002 INFO [MailService] Mail Service bound to java:/Mail
09:01:59,393 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been dete
cted that the MessageSucker component which sucks messages from one node to another has not had its
password changed from the installation default. Please see the JBoss Messaging user guide for instru
ctions on how to do this.
09:01:59,424 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.an
notation.ManagementComponent
09:01:59,799 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
.
09:01:59,799 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
09:02:00,456 INFO [TransactionManagerService] Initializing recovery manager
09:02:00,987 INFO [TransactionManagerService] Recovery manager configured
09:02:00,987 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
09:02:01,050 INFO [TransactionManagerService] Starting transaction recovery manager
09:02:02,800 INFO [Http11Protocol] Inicializando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
09:02:02,815 INFO [AjpProtocol] Inicializando Coyote AJP/1.3 en ajp-127.0.0.1-8009
09:02:02,815 INFO [StandardService] Arrancando servicio jboss.web
09:02:02,815 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
09:02:02,909 INFO [Catalina] Server startup in 228 ms
09:02:02,956 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-managemen
t.war
09:02:04,159 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sa
r/web-console.war
09:02:04,800 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
09:02:05,206 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
a/jboss/jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
09:02:05,300 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
a/jboss/jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
09:02:05,363 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
a/jboss/jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
09:02:05,409 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
a/jboss/jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
09:02:05,472 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
a/jboss/jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
09:02:05,675 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:02:05,722 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:02:05,722 INFO [RAMJobStore] RAMJobStore initialized.
09:02:05,722 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from
default resource file in Quartz package: 'quartz.properties'
09:02:05,722 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:02:05,722 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:02:07,253 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:02:07,957 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VA
RCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VA
RCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAM
E,JOB_GROUP))
09:02:08,066 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:02:08,082 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:02:08,082 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:02:08,097 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:02:08,097 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:02:08,097 INFO [JobStoreCMT] JobStoreCMT initialized.
09:02:08,097 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized fro
m an externally provided properties instance.
09:02:08,097 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:02:08,113 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:02:08,113 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shu
t-down.
09:02:08,113 INFO [JobStoreCMT] Recovery complete.
09:02:08,113 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:02:08,113 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:02:08,129 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:02:08,504 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
09:02:08,785 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
e period 10000 milliseconds
09:02:08,785 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@22d1
f4 started
09:02:08,785 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection fa
ctory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non c
lustered. So connection factory will *not* support failover
09:02:08,785 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connecti
on factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support load balancing
09:02:08,800 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
e period 10000 milliseconds
09:02:08,800 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@7d8d
fe started
09:02:08,800 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
e period 10000 milliseconds
09:02:08,800 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@33ba
f5 started
09:02:08,816 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCac
heSize=2000
09:02:08,816 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000,
downCacheSize=2000
09:02:09,035 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:02:09,176 INFO [TomcatDeployment] deploy, ctxPath=/HelloWorld, vfsUrl=HelloWorld.war
09:02:09,285 ERROR [[/HelloWorld]] Error configurando escuchador de aplicaciþn de clase org.springfr
amework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContaine
r.java:240)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo
yment.java:367)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja
va:146)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
Bootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
rap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
09:02:09,301 ERROR [[/HelloWorld]] Se ha saltado la instalaciþn de escuchadores de aplicaciþn debido
a error(es) previo(s)
09:02:09,301 ERROR [StandardContext] Error listenerStart
09:02:09,301 ERROR [StandardContext] Fallþ en arranque del Contexto [/HelloWorld] debido a errores p
revios
09:02:09,301 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:w
ar=/HelloWorld state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL vfsfile:/C:/Archivos de programa/jboss/jboss-5.0.0.
GA/server/default/deploy/HelloWorld.war/ deployment failed
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo
yment.java:388)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja
va:146)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
Bootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
rap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
09:02:09,332 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Archivos%20
de%20programa/jboss/jboss-5.0.0.GA/server/default/deploy/HelloWorld.war/ state=PreReal mode=Manual r
equiredState=Real
org.jboss.deployers.spi.DeploymentException: URL vfsfile:/C:/Archivos de programa/jboss/jboss-5.0.0.
GA/server/default/deploy/HelloWorld.war/ deployment failed
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo
yment.java:388)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja
va:146)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
Bootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
rap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
09:02:09,410 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
09:02:09,566 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
09:02:09,660 INFO [TomcatDeployment] deploy, ctxPath=/solostruts2, vfsUrl=solostruts2.war
09:02:09,707 WARN [config] Unable to process deployment descriptor for context '/solostruts2'
09:02:10,957 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deploymen
ts (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfsfile:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/server/default/deploy/HelloWorld.war/ -> o
rg.jboss.deployers.spi.DeploymentException: URL vfsfile:/C:/Archivos de programa/jboss/jboss-5.0.0.G
A/server/default/deploy/HelloWorld.war/ deployment failed
09:02:10,973 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
09:02:11,019 INFO [AjpProtocol] Arrancando Coyote AJP/1.3 en ajp-127.0.0.1-8009
09:02:11,035 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=
200812042120)] Started in 1m:18s:902ms
Can you help me? Thanks very much,
regards
Elena
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231205#4231205
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231205
17 years, 2 months
[Microcontainer] - Re: Hot-deployment on AS 5.x
by jaikiran
anonymous wrote : Deployment "ManagedConnectionFactoryDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup
| Deployment "LocalTxDataSourceTemplateInfo" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.LocalDataSourceDeploymentMetaData
| Deployment "ManagedConnectionFactoryParserDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup
| Deployment "NoTxConnectionFactoryTemplate" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentMetaData
| Deployment "SeamDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.metadata.web.jboss.JBossWebMetaData from BaseClassLoader@35afe17b{VFSClassLoaderPolicy@2dfc6dc6{name=vfsfile:/export/isqa/jboss-5.1.0.CR1/server/default/deployers/seam.deployer/ domain=ClassLoaderDomain@317cfd38{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@13d4c61c} roots=[MemoryContextHandler@394983872[path= context=vfsmemory://5ci1z33-psibf2-fupups8k-1-fupuq5p5-e real=vfsme.....
This does not look like the same issue. Can you please create a separate thread in the JBoss AS5 forum http://www.jboss.org/index.html?module=bb&op=viewforum&f=287. When you create the thread there, please provide more details including the exact version of JBossAS, the version and vendor of Java and the entire exception stacktrace. Also please provide more details about how you deploy/undeploy/redeploy.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231202#4231202
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231202
17 years, 2 months
[JBoss jBPM] - jbpm 3 or 4
by SStundzig
Hi all,
thx for your great work in jbpm. I'm currently in the situation in collecting a new customer project. In these project I will generate the process definitions from my dsl tool, deploy all to jboss 5.0.1 and use services provided by the jboss esb. For Busines Rules I like Drools. I also very like the idea of the pvm.
Now my question is, is jbpm4 stable enough for production use or should I use jbpm3. This means I need the engine not the admin ui or the eclipse tools. Timeline is to start mid of june with a prototype based on the process engine.
As I can see in JIRA jbpm4 GA is planned for 1. June 2009. But there are more then 50 issues to solve before. Is the release date reachable?
Thx for all answers.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231187#4231187
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231187
17 years, 2 months
[JBossWS] - Re: Cannot find service endpoint error when deploying ear wi
by ewinston
| 15:15:51,330 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
| 15:15:51,345 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,unitName=WebAlertDataCollection-PU with dependencies:
| 15:15:51,346 INFO [JmxKernelAbstraction] jboss.jca:name=WebAlertDataCollectionXADS,service=DataSourceBinding
| 15:15:51,742 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 15:15:51,765 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,name=VSMAlertRegistration,service=EJB3 with dependencies:
| 15:15:51,765 INFO [JmxKernelAbstraction] persistence.units:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,unitName=WebAlertDataCollection-PU
| 15:15:51,765 INFO [JmxKernelAbstraction] jboss.j2ee:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,name=SubscriptionMaintenance,service=EJB3
| 15:15:51,767 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 15:15:51,767 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,name=VSMDataFilter,service=EJB3 with dependencies:
| 15:15:51,832 INFO [EJBContainer] STARTED EJB: com.vzw.vsm.opalarm.webalert.session.VSMFilter ejbName: VSMDataFilter
| 15:15:51,892 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 15:15:51,892 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,name=SubscriptionMaintenance,service=EJB3 with dependencies:
| 15:15:51,897 INFO [EJBContainer] STARTED EJB: com.vzw.vsm.opalarm.webalert.session.SubscriptionScheduledAction ejbName: SubscriptionMaintenance
| 15:15:52,585 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 15:15:52,586 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear,jar=ejb-0.2.2-SNAPSHOT.jar,name=ObjectPersister,service=EJB3 with dependencies:
| 15:15:52,590 INFO [EJBContainer] STARTED EJB: com.vzw.vsm.opalarm.webalert.session.ObjectPersister ejbName: ObjectPersister
| 15:15:52,610 INFO [EJB3Deployer] Deployed: file:/work/edward/vzw/environment/jboss-4.2.3.GA/server/vzw/tmp/deploy/tmp39565WebAlertDataCollection-0.2.2-SNAPSHOT.ear-contents/ejb-0.2.2-SNAPSHOT.jar
| 15:15:52,834 INFO [DefaultEndpointRegistry] register: jboss.ws:context=WebAlertDataCollection-0.2.2-SNAPSHOT-ejb-0.2.2-SNAPSHOT,endpoint=VSMAlertRegistration
| 15:15:52,842 INFO [DefaultEndpointRegistry] register: jboss.ws:context=WebAlertDataCollection-0.2.2-SNAPSHOT-ejb-0.2.2-SNAPSHOT,endpoint=VSMDataFilter
| 15:15:52,979 INFO [TomcatDeployer] deploy, ctxPath=/WebAlertDataCollection-0.2.2-SNAPSHOT-ejb-0.2.2-SNAPSHOT, warUrl=.../tmp/deploy/WebAlertDataCollection-0.2.2-SNAPSHOT.ear-ejb-0.2.2-SNAPSHOT.jar39566.war/
| 15:15:56,320 INFO [WSDLFilePublisher] WSDL published to: file:/work/edward/vzw/environment/jboss-4.2.3.GA/server/vzw/data/wsdl/WebAlertDataCollection-0.2.2-SNAPSHOT.ear/ejb-0.2.2-SNAPSHOT.jar/AlertRegistrationService39567.wsdl
| 15:15:56,337 INFO [WSDLFilePublisher] WSDL published to: file:/work/edward/vzw/environment/jboss-4.2.3.GA/server/vzw/data/wsdl/WebAlertDataCollection-0.2.2-SNAPSHOT.ear/ejb-0.2.2-SNAPSHOT.jar/VSMFilterService39570.wsdl
| 15:15:56,625 ERROR [MainDeployer] Could not start deployment: file:/work/edward/vzw/environment/jboss-4.2.3.GA/server/vzw/tmp/deploy/tmp39565WebAlertDataCollection-0.2.2-SNAPSHOT.ear-contents/ejb-0.2.2-SNAPSHOT.jar
| javax.xml.ws.WebServiceException: Cannot find service endpoint target: jboss.j2ee:name=VSMAlertRegistration,service=EJB3,jar=ejb-0.2.2-SNAPSHOT.jar,ear=WebAlertDataCollection-0.2.2-SNAPSHOT.ear
| at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.init(InvocationHandlerEJB3.java:83)
| at org.jboss.wsf.framework.deployment.DefaultLifecycleHandler.create(DefaultLifecycleHandler.java:51)
| at org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect.create(EndpointLifecycleDeploymentAspect.java:42)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 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)
|
Here is part of the sack trace. I will create a sample project that shows this problem. It looks like the service gets installed but it isn't ready for use the first time it is accessed. I have gotten around the injection problem by looking up the entity manager in JNDI, but it looks like now the entity manager is not cognizant of the injected USerTransaction and the fact that I have started a transaction there.
I am using the JTA transaction type because elsewhere I need it.
Thanks again.
Edward
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231172#4231172
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231172
17 years, 2 months
[JCA/JBoss] - Connect JBOSS with SAP (JCo)
by wuschelz
Hi Folks,
we will migrate from tomcat to jboss.
In our old environment there is a class that implements a JCo Client that was referenrenced in context.xml (e.g. <ressource-name>jco/) on tomcat. In the lib folder there is also the sapjco.jar.
Now i was wondering how to put this over to Jboss.
I copied sapjco.jar and the Client Implementation jar to the lib folder.
Then i tried with the examples sapr3-ds.xml but didn't came to a solution. I also wasn't able to reference our JCo Client implementation.
Can you give me some hints or clearify how to deploy a connection to sap? Do i need the JCo Client anymore? Is this connection transparent to the applications using JCo? Can i give a custom JNDI Name in my Ressource Adaptor (all examples show somthing like eis/)
Is it a Datasource or a Connetion Factory what i want to configure?
All comments are appreciated because after trying some things i'am completly puzzled......
regards
wuschelz
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231170#4231170
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231170
17 years, 2 months
[JBoss jBPM] - Re: ProcessClassloader question
by sarishjain
Thanks for your responses. See details below, apologies for delayed response as it took some time to simplify the code.
Note:
1. The handler classes are not packaged in the par file.
2. Process is running on jboss 5.0.1.
3. If i switch the method parameter from "long" to "Long", there is no exception. The exception comes only for Native type. I can not take this workaround, as EJB is external and can not be modified by me.
Simplified code below
Process definition
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="MyProcess">
|
| <start-state name="start-state1">
| <transition to="MyNode"></transition>
| </start-state>
|
| <node name="MyNode" async="true">
| <action name="MyNode" class="MyHandler"></action>
| <transition to="end-state1"></transition>
| </node>
|
| <end-state name="end-state1">
|
| </end-state>
|
|
| </process-definition>
|
Action Handler
|
| /**
| * @author s
| *
| */
| public class MyHandler implements
| ActionHandler {
| private static final long serialVersionUID = 1L;
|
| public void execute(ExecutionContext context) throws Exception {
| try {
| InitialContext ctx = new InitialContext();
| RBACServiceI object = (RBACServiceI) ctx.lookup("ps2/RBACService/local");
|
| RBACServiceI service = (RBACServiceI) object;
| service.getRolesBySystemId(263L);
| } catch (Exception e) {
| // TODO Auto-generated catch block
| e.printStackTrace();
| }
| }
|
| }
|
EJB being invoked
| @Local
| public interface RBACServiceI {
|
| /**
| * THis method fetches roles by system id.
| * @param systemid The system id
| * @return List of roles
| */
| public List<PsRole> getRolesBySystemId(long systemid);
|
|
|
| }
|
|
| @Stateless
| public class RBACService implements RBACServiceI {
|
| private RBACDLService service = null;
|
| public List<PsRole> getRolesBySystemId(long systemid){
| return service.getRoleBySystemId(systemid);
| }
|
|
|
|
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231166#4231166
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231166
17 years, 2 months
[Microcontainer] - Re: Hot-deployment on AS 5.x
by nithyas
I am facing the same issue.
I am having a script doing a daily deployment/undeployment of the app.
For the first week, things were going fine.
Now startup/deployment fails with almost the same stacktrace
Any idea if this will this be fixed in the next release?
Deployment "ManagedConnectionFactoryDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup
Deployment "LocalTxDataSourceTemplateInfo" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.LocalDataSourceDeploymentMetaData
Deployment "ManagedConnectionFactoryParserDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup
Deployment "NoTxConnectionFactoryTemplate" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentMetaData
Deployment "SeamDeployer" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.metadata.web.jboss.JBossWebMetaData from BaseClassLoader@35afe17b{VFSClassLoaderPolicy@2dfc6dc6{name=vfsfile:/export/isqa/jboss-5.1.0.CR1/server/default/deployers/seam.deployer/ domain=ClassLoaderDomain@317cfd38{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@13d4c61c} roots=[MemoryContextHandler@394983872[path= context=vfsmemory://5ci1z33-psibf2-fupups8k-1-fupuq5p5-e real=vfsme.....
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231164#4231164
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231164
17 years, 2 months
[EJB/JBoss] - EJB deploy before queue is ready
by rfidler1978
Hello,
I'm have a sar which has an ejb jar and a jboss-service.xml with queue definitions which the mdbs point to. The issue is when I deploy the sar, the ejb jar is being deployed before the queues are created, but just barely.
There is an error that it couldn't find the queue to bind the MDB to and states a temporary queue will be created - it errors saying that queue has already been created. After that error, JBoss tries and successfully binds the MDB to the queue.
>From what I can tell, it seems to be an issue of timing, it's deploying the EJBs and creating the queues at the same time. Is there any way to tell the EJBs to wait for the queues - other than putting some dependency on the EJBDeployer itself? For instance, any way in the ejb-jar.xml to tell the ejbs to wait for the queue to be created before trying to be deployed?
Thanks,
Randall
NOTE: If this is in the wrong forum, my apologies.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231155#4231155
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231155
17 years, 2 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: JPQL - Query Parameter
by israel.bgf
I tryied your two tips and both didnt work. After tweaking the first one a bit, it started to compile. But it still not doing what i want. My SQL/JPQL skills are not very good so i probabbly did something wrong.
Here is my test class and entity classes.
------------ Test-----------------------
package entity;
|
| import java.util.ArrayList;
| import java.util.List;
|
| import javax.persistence.EntityManager;
| import javax.persistence.EntityManagerFactory;
| import javax.persistence.Persistence;
|
| public class ObjectTest {
|
| public static void main(String[] args) {
|
| EntityManagerFactory emf = Persistence.createEntityManagerFactory("persistenceUnit");
| EntityManager em = emf.createEntityManager();
|
| ObjectA a1 = new ObjectA();
| ObjectA a2 = new ObjectA();
|
| ObjectB b1 = new ObjectB();
| ObjectB b2 = new ObjectB();
| ObjectB b3 = new ObjectB();
|
| a1.getList().add(b1);
| a1.getList().add(b2);
| a2.getList().add(b3);
|
| em.getTransaction().begin();
| em.persist(a1);
| em.persist(a2);
| em.getTransaction().commit();
|
| List<ObjectB> param = new ArrayList<ObjectB>();
| param.add(b1);
| param.add(b2);
|
| //"from ObjectA o where o.id in(select distinct b.fk_objectA from ObjectB.fk_objectA b where b.id in :param)"
| //"from ObjectA o where o in(select distinct b from ObjectB b where b in(:param))"
| List<ObjectA> list = em.createQuery("from ObjectA o where o in(select b from ObjectB b where b in(:param))").setParameter("param", param).getResultList();
| for (ObjectA t : list) {
| System.out.println(t);
| }
| }
|
| }
|
---------------- Entityies -----------------------
| package entity;
|
| import java.util.ArrayList;
| import java.util.List;
|
| import javax.persistence.CascadeType;
| import javax.persistence.Entity;
| import javax.persistence.GeneratedValue;
| import javax.persistence.GenerationType;
| import javax.persistence.Id;
| import javax.persistence.OneToMany;
|
| @Entity
| public class ObjectA {
|
| @Id
| @GeneratedValue(strategy = GenerationType.AUTO)
| private Long id;
|
| @OneToMany(mappedBy="objectA",cascade=CascadeType.ALL)
| private List<ObjectB> list = new ArrayList<ObjectB>();
|
| public Long getId() {
| return id;
| }
|
| public void setId(Long id) {
| this.id = id;
| }
|
| public List<ObjectB> getList() {
| return list;
| }
|
| public void setList(List<ObjectB> list) {
| this.list = list;
| }
|
| @Override
| public String toString() {
| String tmp = "id: "+id+"\nlist:\n";
| for(ObjectB t : list){
| tmp += "id:"+ t.getId() +"\n";
| }
| return tmp+="\n";
| }
|
| @Override
| public int hashCode() {
| final int prime = 31;
| int result = 1;
| result = prime * result + ((id == null) ? 0 : id.hashCode());
| return result;
| }
|
| @Override
| public boolean equals(Object obj) {
| if (this == obj)
| return true;
| if (obj == null)
| return false;
| if (getClass() != obj.getClass())
| return false;
| ObjectA other = (ObjectA) obj;
| if (id == null) {
| if (other.id != null)
| return false;
| } else if (!id.equals(other.id))
| return false;
| return true;
| }
|
| }
|
| package entity;
|
| import javax.persistence.Entity;
| import javax.persistence.GeneratedValue;
| import javax.persistence.GenerationType;
| import javax.persistence.Id;
| import javax.persistence.ManyToOne;
|
| @Entity
| public class ObjectB {
|
| @Id
| @GeneratedValue(strategy = GenerationType.AUTO)
| private Long id;
|
| @ManyToOne
| private ObjectA objectA;
|
| public Long getId() {
| return id;
| }
|
| public void setId(Long id) {
| this.id = id;
| }
|
| public void setObjectA(ObjectA objectA) {
| this.objectA = objectA;
| }
|
| public ObjectA getObjectA() {
| return objectA;
| }
|
| @Override
| public int hashCode() {
| final int prime = 31;
| int result = 1;
| result = prime * result + ((id == null) ? 0 : id.hashCode());
| return result;
| }
|
| @Override
| public boolean equals(Object obj) {
| if (this == obj)
| return true;
| if (obj == null)
| return false;
| if (getClass() != obj.getClass())
| return false;
| ObjectB other = (ObjectB) obj;
| if (id == null) {
| if (other.id != null)
| return false;
| } else if (!id.equals(other.id))
| return false;
| return true;
| }
|
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231141#4231141
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231141
17 years, 2 months
[EJB 3.0] - Re: EJB3 business delegates?
by ALRubinger
You should absolutely cache SLSB proxies. Do the lookup once, then you may pass around and share this instance.
This is because the proxy you lookup may target *any* of the underlying bean instances in the pool. Assuming you've done a good job to ensure your SLSB has no *conversational state*, all SLSB proxies are identical from the perspective of the caller/client. This means that if your SLSB has internal instance variables, they must *not* be exposed out.
ie. Instance variables initializing some internal state for your SLSB == OK. Caching user authorization tying some bean instance to a particular request or caller == Bad.
For conversational state, use SFSB. These may not be cached in the same fashion, in that each "conversation" should reference the same SFSB instance and no others.
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231140#4231140
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231140
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Re: Support of J2EEDeployer and AutoDeployer in jboss-5.0.1
by PeterJ
What do you mean by "automatically deploy"? In other words, what actions are you performing and what actions do you expect the app server to then take?
One way of deploying an app is to call the deploy operation on the MainDeployer mbean, passing the file name or URL for the app to that operation. Here is an example using twiddle (a command-line JMX utility):
twiddle invoke "jboss.system:service=MainDeployer" deploy /some/path/myapp.ear
I would call the above a manual process - you have to invoke the deploy method.
A more automated process can be achieved by adding new deploy directories to the deployer. You can do this by adding new values to the applicationURIs property of the SerializableDeploymentRepositoryFactory bean in the server/xxx/conf/bootstrap/profile-rpeository.xml file. For example, to add the /opt/other/apps directory:
<property name="applicationURIs">
| <array elementClass="java.net.URI">
| <value>${jboss.server.home.url}deploy</value>
| <value>/opt/other/apps</value>
| </array>
| </property>
Now, any time that I copy a WAR, EAR or other deployable file to the /opt/other/apps directory, the hot deployer will deploy the app (the hot deployer searches the deploy directories every 5 seconds by default). I regard this as automatic deployment.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231120#4231120
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231120
17 years, 2 months
[JBoss/Spring Integration] - jboss and spring libraries
by pelirr
Hello, I have a problem with an aplication type .war, when I deploy with jboss I get this error:
ERROR [HelloWorld] Error configurando escuchador de aplicacion de clase org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: or.springframework.web.context.ContextLoaderListener
it seems that jboss not take the ContextLoaderListener class, but this class is inside the spring-web.jar library and this library is in WEF-INF/lib of my app.war. I don't know why server not found it. I prove putting in archive pom.xml of server the following:
org.springframework
spring
2.5.5
org.springframework
spring-web
2.5.5
but it ocurrs same error. Can anyone help me? Thanks, and regards
PD: The app.war is one example of HelloWorld of AnayaMultimedia, but in the example of the book there are missing libraries of spring, and there is to modify it.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231101#4231101
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231101
17 years, 2 months
[JBoss jBPM] - Re: anyone working with jbpm-3.2.6.SP1?
by arpan25
Hi,
the server along with docs directory gets installed when i run the jbpm-3.2.6.SP1-installer.jar file...
/home/arpan/server has the following structure
/home/arpan/server/default/deploy/jbpm/jbpm-destinations-service.xml
/home/arpan/server/default/deploy/jbpm/jbpm-mysql-ds.xml
/home/arpan/server/default/deploy/jbpm/jbpm-service.sar
/home/arpan/server/default/deploy/jbpm/jbpm-enterprise.jar
/home/arpan/server/default/deploy/jbpm/jbpm-mysql-ds.xml
/home/arpan/server/default/deploy/jbpm/jsf-console.war
I copied this server dir to
/home/arpan/jbpm-3.2.6.SP1/jboss-5.0.0.GA/server/default/deploy because I was not able to see the jbpm jboss console without copying it.
Also, initially, there was no jbpm dir in the
/jbpm-3.2.6.SP1/jboss-5.0.0.GA/server/default/deploy directory.
That is my question, I am not sure if I am doing the correct thing..
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231095#4231095
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231095
17 years, 2 months
[JBoss jBPM] - Re: anyone working with jbpm-3.2.6.SP1?
by arpan25
Hi,
the server along with docs directory gets installed when i run the jbpm-3.2.6.SP1-installer.jar file...
/home/arpan/server has the following structure
/home/arpan/server/default/deploy/jbpm/jbpm-destinations-service.xml /home/arpan/server/default/deploy/jbpm/jbpm-mysql-ds.xml
/home/arpan/server/default/deploy/jbpm/jbpm-service.sar
/home/arpan/server/default/deploy/jbpm/jbpm-enterprise.jar /home/arpan/server/default/deploy/jbpm/jbpm-mysql-ds.xml
/home/arpan/server/default/deploy/jbpm/jsf-console.war
I copied this server dir to /home/arpan/jbpm-3.2.6.SP1 because I was not able to see the jbpm jboss console without copying it.
Also, initially, there was no jbpm dir in the /jbpm-3.2.6.SP1/jboss-5.0.0.GA/server/default/deploy directory.
That is my question, I am not sure if I am doing the correct thing..
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231093#4231093
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231093
17 years, 2 months