geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4243) EAR Deploy Error
Date Wed, 01 Apr 2009 02:24:51 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694360#action_12694360
] 

Ivan commented on GERONIMO-4243:
--------------------------------

IMO, it may not the problem of ASM. In the case of db2jcc.jar, although some files in it are
with .class suffix, they are not common compiled class files. For you could see the first
four bytes are not "CA FE BA BE". 
Hi, Gus, maybe there are some files in your shipped jars are with the same reason. Have you
tried the 
export JAVA_OPTS="-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true", while this option
is on, Geronimo will not scan all the classes in the classpath.

> EAR Deploy Error
> ----------------
>
>                 Key: GERONIMO-4243
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4243
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: console, deployment, Jetty, Tomcat, webservices
>    Affects Versions: 2.1.2, 2.1.3, 2.2
>         Environment: Java
> java.awt.graphicsenv 	sun.awt.X11GraphicsEnvironment
> java.awt.printerjob 	sun.print.PSPrinterJob
> java.class.path 	
> /usr/local/geronimo/bin/server.jar
> /usr/local/geronimo/bin/jpa.jar
> java.class.version 	49.0
> java.endorsed.dirs 	
> /usr/local/geronimo/lib/endorsed
> /usr/local/java/jre/lib/endorsed
> java.ext.dirs 	
> /usr/local/geronimo/lib/ext
> /usr/local/java/jre/lib/ext
> java.home 	/home/oxseed/jdk1.5.0_15/jre
> java.io.tmpdir 	/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/temp
> java.library.path 	
> /home/oxseed/jdk1.5.0_15/jre/lib/i386/server
> /home/oxseed/jdk1.5.0_15/jre/lib/i386
> /home/oxseed/jdk1.5.0_15/jre/../lib/i386
> java.runtime.name 	Java(TM) 2 Runtime Environment, Standard Edition
> java.runtime.version 	1.5.0_15-b04
> java.specification.name 	Java Platform API Specification
> java.specification.vendor 	Sun Microsystems Inc.
> java.specification.version 	1.5
> java.util.prefs.PreferencesFactory 	
> java.vendor- 	Sun Microsystems Inc.
> java.vendor.url 	http://java.sun.com/
> java.vendor.url.bug 	http://java.sun.com/cgi-bin/bugreport.cgi
> java.version- 	1.5.0_15
> Virtual Machine
> java.vm.info 	mixed mode
> java.vm.name 	Java HotSpot(TM) Server VM
> java.vm.specification.name 	Java Virtual Machine Specification
> java.vm.specification.vendor 	Sun Microsystems Inc.
> java.vm.specification.version 	1.0
> java.vm.vendor 	Sun Microsystems Inc.
> java.vm.version 	1.5.0_15-b04
> Operating System
> os.arch 	i386
> os.name 	Linux
> os.version 	2.6.16.33-xen
> Sun
> sun.arch.data.model 	32
> sun.boot.class.path 	
> /usr/local/geronimo/lib/endorsed/yoko-spec-corba-1.0.jar
> /usr/local/geronimo/lib/endorsed/yoko-rmi-spec-1.0.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/rt.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/i18n.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/sunrsasign.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/jsse.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/jce.jar
> /home/oxseed/jdk1.5.0_15/jre/lib/charsets.jar
> /home/oxseed/jdk1.5.0_15/jre/classes
> sun.boot.library.path 	
> /home/oxseed/jdk1.5.0_15/jre/lib/i386
> sun.cpu.endian 	little
> sun.cpu.isalist 	
> sun.io.unicode.encoding 	UnicodeLittle
> sun.java2d.fontpath 	
> sun.os.patch.level 	unknown
> User
> user.country 	US
> user.dir 	/home/oxseed
> user.home 	/home/oxseed
> user.language 	en
> user.name 	oxseed
> user.timezone 	Europe/Berlin
> user.variant 	
> Etc
> admin.disabled 	true
> catalina.base 	/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
> catalina.home 	/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
> catalina.useNaming 	false
> com.sun.management.jmxremote 	
> com.sun.management.jmxremote.authenticate 	false
> com.sun.management.jmxremote.port 	8004
> com.sun.management.jmxremote.ssl 	false
> common.loader 	${catalina.home}/lib ${catalina.home}/lib/*.jar
> derby.storage.fileSyncTransactionLog 	true
> derby.system.home 	/home/oxseed
> duct tape 	
> file.encoding 	ANSI_X3.4-1968
> file.encoding.pkg 	sun.io
> file.separator 	/
> java.naming.factory.initial 	org.apache.xbean.naming.global.GlobalContextManager
> java.naming.factory.url.pkgs 	org.apache.xbean.naming
> java.naming.provider.url 	rmi://0.0.0.0:1099
> java.net.preferIPv4Stack 	true
> java.rmi.server.RMIClassLoaderSpi 	org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl
> java.rmi.server.randomIDs 	true
> java.security.Provider 	SUN
> javax.rmi.CORBA.PortableRemoteObjectClass 	org.apache.yoko.rmi.impl.PortableRemoteObjectImpl
> javax.rmi.CORBA.StubClass 	org.apache.yoko.rmi.impl.StubImpl
> javax.rmi.CORBA.UtilClass 	org.apache.geronimo.corba.util.UtilDelegateImpl
> javax.security.jacc.PolicyConfigurationFactory.provider 	org.apache.geronimo.security.jacc.mappingprovider.GeronimoPolicyConfigurationFactory
> javax.security.jacc.policy.provider 	org.apache.geronimo.security.jacc.mappingprovider.GeronimoPolicy
> javax.xml.soap.MessageFactory 	org.apache.geronimo.webservices.saaj.GeronimoMessageFactory
> javax.xml.soap.MetaFactory 	org.apache.geronimo.webservices.saaj.GeronimoMetaFactory
> javax.xml.soap.SOAPConnectionFactory 	org.apache.geronimo.webservices.saaj.GeronimoSOAPConnectionFactory
> javax.xml.soap.SOAPFactory 	org.apache.geronimo.webservices.saaj.GeronimoSOAPFactory
> line.separator 	
> noBanner 	true
> openejb.logger.external 	true
> openejb.naming 	xbean
> openejb.nobanner 	true
> org.apache.activeio.journal.active.lockMap:/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/activemq/journal/control.dat
	true
> org.apache.catalina.STRICT_SERVLET_COMPLIANCE 	true
> org.apache.cxf.jaxws.checkPublishEndpointPermission 	true
> org.apache.geronimo.base.dir 	/usr/local/geronimo
> org.apache.geronimo.corba.UtilDelegateClass 	org.apache.yoko.rmi.impl.UtilImpl
> org.apache.geronimo.home.dir 	/home/oxseed/geronimo-tomcat6-javaee5-2.1.2
> org.apache.geronimo.log.ConsoleLogLevel 	WARN
> org.apache.geronimo.server.dir 	/home/oxseed/geronimo-tomcat6-javaee5-2.1.2
> org.apache.jasper.Constants.USE_INSTANCE_MANAGER_FOR_TAGS 	true
> org.apache.security.jacc.EJBMethodPermission.methodInterfaces 	BusinessLocalHome,BusinessRemoteHome,BusinessRemote,BusinessLocal
> org.apache.yoko.rmi.RMIStubInitializerClass 	org.apache.geronimo.yoko.RMIStubHandlerFactory
> org.objectweb.howl./home/oxseed/geronimo-tomcat6-javaee5-2.1.2/./var/txlog/howl_1.log.locked
	true
> org.objectweb.howl./home/oxseed/geronimo-tomcat6-javaee5-2.1.2/./var/txlog/howl_2.log.locked
	true
> org.omg.CORBA.ORBClass 	org.apache.yoko.orb.CORBA.ORB
> org.omg.CORBA.ORBSingletonClass 	org.apache.yoko.orb.CORBA.ORBSingleton
> package.access 	sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
> package.definition 	sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
> path.separator 	:
> server.loader 	
> shared.loader 	
> sun.java.launcher 	SUN_STANDARD
> sun.jnu.encoding 	ANSI_X3.4-1968
> sun.management.compiler 	HotSpot Server Compiler
> tomcat.util.buf.StringCache.byte.enabled 	true
>            Reporter: gennadibereshnoi
>            Priority: Blocker
>         Attachments: Geronimo-4243.patch
>
>
> After upgrating the G2.1.1to G.2.1.2 ( the reason was exactly  classloader problem -
https://issues.apache.org/jira/browse/GERONIMO-4113 )
> now another problem come with deployment the same EAR.
>  java.lang.ArrayIndexOutOfBoundsException: 48188
> org.apache.geronimo.common.DeploymentException: java.lang.ArrayIndexOutOfBoundsException:
48188
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:275)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> 	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:585)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
> 	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> 	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188
> 	at org.objectweb.asm.ClassReader.readClass(Unknown Source)
> 	at org.objectweb.asm.ClassReader.accept(Unknown Source)
> 	at org.objectweb.asm.ClassReader.accept(Unknown Source)
> 	at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:690)
> 	at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:139)
> 	at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:154)
> 	at org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
> 	at org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
> 	at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:70)
> 	at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
> 	at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> 	... 12 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message