You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Meet Parikh (JIRA)" <ji...@apache.org> on 2010/10/11 09:48:33 UTC

[jira] Commented: (GERONIMO-3130) Problem in starting Liferay portal with geronimo

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

Meet Parikh commented on GERONIMO-3130:
---------------------------------------

I recently downloaded liferay-geronimo-6.0.5. When i tried to start the server , instead of geronimo being started I am getting the following error message.... Plz help

java.lang.Exception: Failed to start: Geronimo Server
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaC
lassHelper.java:535)
        at groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2356
)
        at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1255)
        at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1185)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(Invoker
Helper.java:809)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBy
tecodeAdapter.java:230)
        at org.apache.geronimo.commands.ProcessLauncher.launch(ProcessLauncher.g
roovy:102)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHel
per.java:778)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:758)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(Scrip
tBytecodeAdapter.java:170)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(Scrip
tBytecodeAdapter.java:198)
        at org.apache.geronimo.commands.StartServerCommand.doExecute(StartServer
Command.groovy:198)
        at org.apache.geronimo.gshell.command.CommandSupport.execute(CommandSupp
ort.java:101)
        at org.apache.geronimo.gshell.plugin.PlexusCommandWrapper.execute(Plexus
CommandWrapper.java:71)
        at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultComm
andExecutor.java:209)
        at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.ja
va:96)
        at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpressi
on.java:17)
        at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNod
e.java:57)
        at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.ja
va:79)
        at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommand
Line.java:17)
        at org.apache.geronimo.gshell.DefaultCommandLineBuilder$1.execute(Defaul
tCommandLineBuilder.java:95)
        at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultComm
andExecutor.java:86)
        at org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:123
)
        at org.apache.geronimo.gshell.GShell.execute(GShell.java:120)
        at org.apache.geronimo.gshell.cli.Main.boot(Main.java:246)
        at org.apache.geronimo.gshell.cli.Main.main(Main.java:266)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:408)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
351)
        at org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)
Caused by: : Java returned: 1
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:199)
        at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:153)
        at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:149)
        at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHel
per.java:784)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:758)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(Scrip
tBytecodeAdapter.java:170)
        at org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.d
oCall(StartServerCommand.groovy:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:248)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurre
ntN(ScriptBytecodeAdapter.java:78)
        at org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.d
oCall(StartServerCommand.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:248)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHel
per.java:766)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:754)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(Scrip
tBytecodeAdapter.java:170)
        at org.apache.geronimo.commands.ProcessLauncher.invokeMethod(ProcessLaun
cher.groovy)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelega
tionObjects(ClosureMetaClass.java:371)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:322)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurre
ntN(ScriptBytecodeAdapter.java:78)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurre
nt0(ScriptBytecodeAdapter.java:112)
        at org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(
ProcessLauncher.groovy:63)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:248)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurre
ntN(ScriptBytecodeAdapter.java:78)
        at org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(
ProcessLauncher.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:248)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at groovy.lang.Closure.call(Closure.java:292)
        at groovy.lang.Closure.call(Closure.java:287)
        at groovy.lang.Closure.run(Closure.java:368)
        at java.lang.Thread.run(Thread.java:619)

WARNING: Abnormal JVM shutdown detected
Shutting down...

> Problem in starting Liferay portal   with geronimo
> --------------------------------------------------
>
>                 Key: GERONIMO-3130
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3130
>             Project: Geronimo
>          Issue Type: RTC
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.1.x
>         Environment: windows xp, mysql 4.0,liferay 4.2.2,geronimo 1.1
>            Reporter: raghu
>
> Successfully installed liferay-portal-4.2.1.war through Geronimo Admin Console. When I start the Application through admin console it is saying "Lifecycle failed". And The following is the log.
> 10:21:00,410 ERROR [[/]] Error configuring application listener of class com.liferay.portal.servlet.PortalSessionListener
> java.lang.NoClassDefFoundError: com/liferay/portal/PortalException
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(JarFileCla ssLoader.java:51)
> at org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run(JarFileClassLoa der.java:275)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass(JarFileClas sLoader.java:227)
> at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentC lassLoader.java:243)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> .
> .
> .
> .
> 10:21:00,427 ERROR [[/]] Skipped installing application listeners due to previous error(s)
> 10:21:00,427 ERROR [StandardContext] Error listenerStart
> 10:21:00,427 ERROR [StandardContext] Context [/] startup failed due to previous errors
> 10:21:00,496 WARN [TomcatWebAppContext] TomcatWebAppContext failed
> 10:21:00,496 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="liferay/liferay-portal-tomcat/4.2.1/car?J2EEApplication=null,j2ee Type=WebModule,name=liferay/liferay-portal-tomcat/4.2.1/car"
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:396)
> at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStream Handler.java:233)
> at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java :453)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.ja va:981)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInst anceState.java:267)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.j ava:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDepende ncy.java:111)
> .
> .
> .
> .
> 10:21:05,068 ERROR [[/]] Error configuring application listener of class com.liferay.portal.servlet.PortalSessionListener
> java.lang.NoClassDefFoundError: com/liferay/portal/PortalException
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(JarFileCla ssLoader.java:51)

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