geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4243) EAR Deploy Error
Date Mon, 27 Apr 2009 15:58:30 GMT

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

Gus commented on GERONIMO-4243:
-------------------------------

Hi Ivan, sorry for the delayed response.  Yes, setting the useSimpleFinder system property
does let it deploy properly.  As to whether or not there are irregular classes in my classpath...
I can't say no for certain, only that I haven't modified the classpath directly, and this
project only includes the the projects listed above (of which none are rare or obscure, IMO).
 

That said, I'm wondering if it's more related to the fact that I run geronimo under java 1.5,
not java 6?  I'm experiencing another issue which is apparently fixed by running under java
6, and it occurred to me that this class reading error might also be related to assumptions
about the jvm.  I hope to switch out the JVM soon, and I'll try it again.

> 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