[Installation, Configuration & Deployment] - JBoss AS 5.1.0.GA + Seam 2.2.0 - ZipException: error in open
by brettcave
I am getting an error that seems to relate to
https://jira.jboss.org/jira/browse/JBAS-6107, but the issue was resolved in the version I am running.
The ear being deployed (to the server/all/farm directory). The application.xml in the META-INF directory has:
<module>
| <ejb>jboss-seam.jar</ejb>
| </module>
|
Strict module loading is not enabled. There's a few other jars in the ear too. Any idea's as to what is causing this?
The stack trace is as follows:
2009-12-04 13:13:28,140 INFO [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.2.0.GA
| 2009-12-04 13:13:28,497 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/pba]] (main) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: Error handling file /usr/share/jboss/jboss-5.1.0.GA/server/all/farm/9-hercules-ear.ear/jboss-seam.jar
| at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:128)
| at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:101)
| at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:84)
| at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:105)
| at org.jboss.seam.init.Initialization.create(Initialization.java:122)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
| 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 $Proxy38.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.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:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| 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:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.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.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| 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:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| 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:702)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
| at org.jboss.Main.boot(Main.java:221)
| at org.jboss.Main$1.run(Main.java:556)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.util.zip.ZipException: error in opening zip file
| at java.util.zip.ZipFile.open(Native Method)
| at java.util.zip.ZipFile.<init>(ZipFile.java:114)
| at java.util.zip.ZipFile.<init>(ZipFile.java:131)
| at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:117)
| ... 75 more
| 2009-12-04 13:13:28,499 ERROR [org.apache.catalina.core.StandardContext] (main) Error listenerStart
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268975#4268975
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268975
14 years, 7 months
[jBPM Users] - Re: Problem to run jBPM under jBoss and searching for PVM do
by -Silver-
Hi kukeltje, first of all thanks for the reply :)
1) I tried a clean jboss 5.1.0 AS and it starts without problems, then I installed jbpm and there are a lot of exception.
This is the first one:
| 11:40:08,195 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
| org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Class not found for XADataSource com.mysql.jdbc.jdbc2.optional.MysqlXADataSource; - nested throwable: (java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource from BaseClassLoader@17704b7{VFSClassLoaderPolicy@d6c6a0{name=vfsfile:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/ domain=ClassLoaderDomain@eb67e8{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@867e89} roots=[MemoryContextHandler@9068528[path= context=vfsmemory://5c4o03-4x3cun-g2stpfuk-1-g2stpzvd-17 real=vfsmemory://5c4o03-4x3cun-g2stpfuk-1-g2stpzvd-17], FileHandler(a)10536304[path=jbpm/jbpm-service.sar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/], DelegatingHandler(a)16936351[path=jbpm/jbpm-service.sar/freemarker.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/freemarker.jar], DelegatingHandler(a)7016550[path=jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar], DelegatingHandler(a)16898138[path=jbpm/jbpm-service.sar/jbpm-console-graphView-plugin.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-graphView-plugin.jar], DelegatingHandler(a)2304605[path=jbpm/jbpm-service.sar/jbpm-console-integration.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-integration.jar], DelegatingHandler(a)11682775[path=jbpm/jbpm-service.sar/juel-engine.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel-engine.jar], DelegatingHandler(a)25425762[path=jbpm/jbpm-service.sar/juel-impl.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel-impl.jar], DelegatingHandler(a)15102430[path=jbpm/jbpm-service.sar/juel.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel.jar], DelegatingHandler(a)20824308[path=jbpm/jbpm-service.sar/livetribe-jsr223.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/livetribe-jsr223.jar]] delegates=null exported=[, de.odysseus.el.tree.impl, freemarker, org.jbpm.integration.console.forms, freemarker.ext.dom, de.odysseus.el.tree.impl.ast, org.jbpm.integration.console.graphView, META-INF.maven.org.livetribe.livetribe-jsr223, freemarker.ext.jython, javax.script, freemarker.ext.beans, META-INF.maven.org.jbpm.jbpm4.jbpm-console-integration, META-INF.maven.org.jbpm.jbpm4.jbpm-console-graphView-plugin, de.odysseus.el.tree, freemarker.debug.impl, freemarker.core, META-INF.maven.org.jbpm.jbpm4.jbpm-console-form-plugin, freemarker.ext.servlet, freemarker.ext.util, javax.el, de.odysseus.el.misc, freemarker.debug, freemarker.cache, de.odysseus.el.util, org.jbpm.integration.console, freemarker.ext.xml, META-INF, de.odysseus.el, freemarker.ext.jdom, freemarker.template.utility, freemarker.ext.jsp, freemarker.log, freemarker.ext.rhino, META-INF.services, com.sun.script.juel, freemarker.template, freemarker.ext.ant] <IMPORT-ALL>NON_EMPTY}}))
| at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:465)
| ....
|
I think that there's some problem with the mysql connection.
Mysql is correctly running on port 3306, what could cause this excepiton? Does JBoss search for connection libraries in a wrong path?
Doesn't JBoss have the correct privileges to access the database?
Anything else?
What could I do to solve?
2) I saw the documentation that you suggested, but I need documentation about the internal pvm's operation. For example, does it work like a state machine or like an Artificial Neural Network? etc.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268966#4268966
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268966
14 years, 7 months
[Installation, Configuration & Deployment] - Re: Deployed application steals logging from JBoss. How to p
by zbiggy
I do not know the app - this is only binary code. What I see it deploys its own log4j and use such properties for logging:
log4j.rootCategory=ERROR, CONSOLE,MYLOG
|
| log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
| log4j.appender.CONSOLE.Threshold=ERROR
| log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
| log4j.appender.CONSOLE.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %5p [%t] (%F:%L) - %m%n
|
| log4j.appender.MYLOG=org.apache.log4j.DailyRollingFileAppender
| log4j.appender.MYLOG.DatePattern='_'yyyyMMdd'.log'
| log4j.appender.MYLOG.File=server/default/log/mylog.log
| log4j.appender.MYLOG.Append=true
| log4j.appender.MYLOG.layout=org.apache.log4j.PatternLayout
| log4j.appender.MYLOG.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %5p [%t] (%F:%L) - %m%n
JBoss logs must not be affected by any deployed application. If there is no any configuration changes which can protect against such hostile behaviour this is security bug in JBoss. Before I start looking how to file a bug report to JBoss I would like to make sure there is no known protection to JBoss.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268957#4268957
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268957
14 years, 7 months