facebook

Startup Error on Geronimo 2

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #302770 Reply

    Wade Wiles
    Member

    I am cross posting this to the geronimo list as well.

    I’m running MyEclipseIDE 7.5 on MacBookPro JDK 1.5. I can start Geronimo( geronimo-tomcat6-javaee5-2.1.4) manually using the command line but when I use Eclipse ( without a project ) I get an error as listed below:

    ( I can start Geronimo using a plain Ganymede eclipse with a server plugin without any error)

    Here is the program args from the launch config screen:
    /Applications/geronimo-tomcat6-javaee5-2.1.4/bin/server.jar -long

    -Djava.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin -Dorg.apache.geronimo.base.dir=/Applications/geronimo-tomcat6-javaee5-2.1.4 -Djava.io.tmpdir=/Applications/geronimo-tomcat6-javaee5-2.1.4/var/temp -Djava.ext.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/jre/lib/ext:”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/ext” -Djava.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/jre/lib/endorsed:”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed”

    Thanks for any insight.
    Wade

    Module 52/69 org.apache.geronimo.plugins/console-tomcat/2.1.4/car 2009-09-29 15:29:06,296 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=”org.apache.geronimo.plugins/console-tomcat/2.1.4/car?J2EEApplication=org.apache.geronimo.plugins/console-tomcat/2.1.4/car,j2eeType=JACCManager,name=JACCManager”
    java.lang.ExceptionInInitializerError
    at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:109)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
    at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
    at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
    at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
    at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
    at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
    at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
    at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
    at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    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:832)
    at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$20d003ce.startConfiguration(<generated>)
    at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
    at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
    at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
    at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
    Caused by: java.security.ProviderException: No such algorithm: HmacSHA1. This can be caused by a misconfigured java.ext.dirs, JAVA_HOME or JRE_HOME environment variable.
    at org.apache.geronimo.security.ContextManager.setAlgorithm(ContextManager.java:342)
    at org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:65)
    … 38 more

    #302778 Reply

    support-joy
    Member

    wbwiles,

    Can you give me some information to investigate the error.
    1. How did you install ME? – used all-in-one installer to download/using pulse explorer/installed eclipse and added MyEclipse plugin
    2. how did you configure geronimo server. If possible try to send screenshot of geronimo server configuration.
    3. Can you copy and paste your installation details. You can get them from – MyEclipse > Installation Summary > Installation Details
    4. can you copy paste the contents of your log file located at workspace dir > .metadata > .log

    I would suggest you a workaround –

    Did you set JAVA_HOME variable?If not set JAVA_HOME variable by referring your java installation home directory in Enviroment Variables.

    I hope this works for you.

    #302790 Reply

    Wade Wiles
    Member

    1. I reinstalled ME(myeclipse-7.5.0-macosx) clean yesterday using all-in-one pulse
    2. I reinstalled geronimo-tomcat6-javaee5-2.1.4 yesterday with no modifications.
    Using *command* line startup this is the log
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.vm.name] = Java HotSpot(TM) Client VM
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.vm.vendor] = Apple Inc.
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.vm.version] = 1.5.0_20-141
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.vm.info] = mixed mode
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.home] = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.classpath] = null
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.library.path] = /usr/local/ImageMagick-6.4.8/lib:.:/Users/wwiles/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.endorsed.dirs] = /Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/endorsed
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [java.ext.dirs] = /Applications/geronimo-tomcat6-javaee5-2.1.4/lib/ext:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/ext
    2009-09-30 09:27:02,914 INFO [Log4jService] System property [sun.boot.class.path] = /Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed/yoko-rmi-spec-1.0.jar:/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed/yoko-spec-corba-1.0.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar
    2009-09-30 09:27:02,914 INFO [Log4jService] ———————————————-
    2009-09-30 09:27:03,866 INFO [KernelContextGBean] bound gbean org.apache.geronimo.framework/rmi-naming/2.1.4/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1.4/car,j2eeType=Context,name=JavaCompContext at name java:comp
    2009-09-30 09:27:03,867 INFO [KernelContextGBean] bound gbean org.apache.geronimo.framework/rmi-naming/2.1.4/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1.4/car,j2eeType=Context,name=JavaContext at name java:
    2009-09-30 09:27:03,868 INFO [KernelContextGBean] bound gbean org.apache.geronimo.framework/rmi-naming/2.1.4/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1.4/car,j2eeType=Context,name=GeronimoContext at name ger:
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=java.net.preferIPv4Stack to Value=true
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=javax.xml.soap.MessageFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoMessageFactory
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=org.apache.cxf.jaxws.checkPublishEndpointPermission to Value=true
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=javax.xml.soap.SOAPConnectionFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPConnectionFactory
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=javax.xml.soap.SOAPFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPFactory
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=javax.xml.soap.MetaFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoMetaFactory
    2009-09-30 09:27:04,500 INFO [SystemProperties] Setting Property=java.security.Provider to Value=SUN
    2009-09-30 09:27:04,628 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/transaction/2.1.4/car?ServiceModule=org.apache.geronimo.configs/transaction/2.1.4/car,j2eeType=Context,name=ResourceBindings at name jca:
    2009-09-30 09:27:05,673 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/system-database/2.1.4/car?J2EEApplication=null,JCAConnectionFactory=SystemDatasource,JCAResource=org.apache.geronimo.configs/system-database/2.1.4/car,ResourceAdapter=org.apache.geronimo.configs/system-database/2.1.4/car,ResourceAdapterModule=org.apache.geronimo.configs/system-database/2.1.4/car,j2eeType=JCAManagedConnectionFactory,name=SystemDatasource at name org.apache.geronimo.configs/system-database/JCAManagedConnectionFactory/SystemDatasource
    2009-09-30 09:27:05,690 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/system-database/2.1.4/car?J2EEApplication=null,JCAConnectionFactory=NoTxDatasource,JCAResource=org.apache.geronimo.configs/system-database/2.1.4/car,ResourceAdapter=org.apache.geronimo.configs/system-database/2.1.4/car,ResourceAdapterModule=org.apache.geronimo.configs/system-database/2.1.4/car,j2eeType=JCAManagedConnectionFactory,name=NoTxDatasource at name org.apache.geronimo.configs/system-database/JCAManagedConnectionFactory/NoTxDatasource
    2009-09-30 09:27:06,867 INFO [service] Creating TransactionManager(id=Default Transaction Manager)
    2009-09-30 09:27:06,888 INFO [service] Creating SecurityService(id=Default Security Service)
    2009-09-30 09:27:06,889 INFO [service] Creating ProxyFactory(id=Default JDK 1.3 ProxyFactory)
    2009-09-30 09:27:06,933 INFO [config] Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container)
    2009-09-30 09:27:06,934 INFO [service] Creating Container(id=Default Stateless Container)
    2009-09-30 09:27:06,972 INFO [config] Configuring Service(id=Default Stateful Container, type=Container, provider-id=Default Stateful Container)
    2009-09-30 09:27:06,972 INFO [service] Creating Container(id=Default Stateful Container)
    2009-09-30 09:27:06,991 INFO [OpenEJB] Using directory /Applications/geronimo-tomcat6-javaee5-2.1.4/var/temp for stateful session passivation
    2009-09-30 09:27:06,991 INFO [config] Configuring Service(id=Default BMP Container, type=Container, provider-id=Default BMP Container)
    2009-09-30 09:27:06,991 INFO [service] Creating Container(id=Default BMP Container)
    2009-09-30 09:27:07,003 INFO [config] Configuring Service(id=Default CMP Container, type=Container, provider-id=Default CMP Container)
    2009-09-30 09:27:07,003 INFO [service] Creating Container(id=Default CMP Container)
    2009-09-30 09:27:07,125 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/axis/2.1.4/car?ServiceModule=org.apache.geronimo.configs/axis/2.1.4/car,j2eeType=JAXRConnectionFactory,name=eis/JAXR at name org.apache.geronimo.configs/axis/JAXRConnectionFactory/eis/JAXR
    2009-09-30 09:27:07,853 INFO [SystemProperties] Setting Property=org.apache.jasper.Constants.USE_INSTANCE_MANAGER_FOR_TAGS to Value=true
    2009-09-30 09:27:07,977 INFO [SystemProperties] Setting Property=org.apache.catalina.STRICT_SERVLET_COMPLIANCE to Value=true
    2009-09-30 09:27:08,269 INFO [AprLifecycleListener] The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/ImageMagick-6.4.8/lib:.:/Users/wwiles/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    2009-09-30 09:27:09,454 INFO [config] Configuring Service(id=org.apache.geronimo.configs/activemq-ra/2.1.4/car.ActiveMQ RA-javax.jms.MessageListener, type=Container, provider-id=Default MDB Container)
    2009-09-30 09:27:09,454 INFO [service] Creating Container(id=org.apache.geronimo.configs/activemq-ra/2.1.4/car.ActiveMQ RA-javax.jms.MessageListener)
    2009-09-30 09:27:09,565 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/activemq-ra/2.1.4/car?J2EEApplication=null,JCAConnectionFactory=DefaultActiveMQConnectionFactory,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1.4/car,j2eeType=JCAManagedConnectionFactory,name=DefaultActiveMQConnectionFactory at name org.apache.geronimo.configs/activemq-ra/JCAManagedConnectionFactory/DefaultActiveMQConnectionFactory
    2009-09-30 09:27:09,573 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/activemq-ra/2.1.4/car?J2EEApplication=null,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1.4/car,j2eeType=JCAAdminObject,name=MDBTransferBeanOutQueue at name org.apache.geronimo.configs/activemq-ra/JCAAdminObject/MDBTransferBeanOutQueue
    2009-09-30 09:27:09,578 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/activemq-ra/2.1.4/car?J2EEApplication=null,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1.4/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1.4/car,j2eeType=JCAAdminObject,name=SendReceiveQueue at name org.apache.geronimo.configs/activemq-ra/JCAAdminObject/SendReceiveQueue
    2009-09-30 09:27:09,603 INFO [MailGBean] JavaMail session bound to ger:/MailSession
    2009-09-30 09:27:09,603 INFO [KernelContextGBean] bound gbean org.apache.geronimo.configs/javamail/2.1.4/car?ServiceModule=org.apache.geronimo.configs/javamail/2.1.4/car,j2eeType=JavaMailResource,name=mail/MailSession at name org.apache.geronimo.configs/javamail/JavaMailResource/mail/MailSession
    2009-09-30 09:27:11,052 INFO [ContextLoader] Root WebApplicationContext: initialization started
    2009-09-30 09:27:11,078 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@3379b9: display name [Root WebApplicationContext]; startup date [Wed Sep 30 09:27:11 CDT 2009]; root of context hierarchy
    2009-09-30 09:27:11,124 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml]
    2009-09-30 09:27:11,163 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@3379b9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@faa00b
    2009-09-30 09:27:11,218 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@faa00b: defining beans [RequiredContainerServices,PortalContext,DriverConfiguration,AdminConfiguration,PortalURLParser,PropertyConfigService,RenderConfigService,SupportedModesService,SupportedWindowStatesService,PortalCallbackService,GeronimoPortalServices]; root of factory hierarchy
    2009-09-30 09:27:11,264 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 211 ms
    2009-09-30 09:27:11,264 INFO [PortalStartupListener] Starting up Pluto Portal Driver. . .
    2009-09-30 09:27:11,326 INFO [PortalStartupListener] Initializing Portlet Container. . .
    2009-09-30 09:27:11,347 INFO [PortletContainerFactory] Portlet Container [Pluto Portal Driver] created.
    2009-09-30 09:27:11,348 INFO [PortletContainerImpl] Portlet Container [Pluto Portal Driver]: Container initialized successfully.
    2009-09-30 09:27:11,348 INFO [PortalStartupListener] Pluto portlet container started.

    MyEclipse Summary
    *** Date:
    Wednesday, September 30, 2009 9:31:14 AM CDT

    ** System properties:
    OS=MacOSX
    OS version=10.5.8
    Java version=1.5.0_20

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.5
    Build id: 7.5-20090609

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.5
    Build id: 7.5-20090609

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20080703-0800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Library/Pulse/MyEclipse 7.5/myeclipse.app/Contents/MacOS/myeclipse
    -name
    Myeclipse
    –launcher.library
    /Library/Pulse/MyEclipse 7.5/myeclipse.app/Contents/MacOS//../../../../Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731/eclipse_1115.so
    -startup
    /Library/Pulse/MyEclipse 7.5/myeclipse.app/Contents/MacOS/../../../../Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -clean
    -configuration
    ../../../configuration
    -data
    /Users/wwiles/Workspaces/geronimo
    -launcher
    /Library/Pulse/MyEclipse 7.5/myeclipse.app/Contents/MacOS/myeclipse
    -clean
    -configuration
    ../../../configuration
    -keyring
    /Users/wwiles/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework

    4. I abandoned all projects with no success and even with an empty workspace and no projects, the server does not start. – no .metadata log

    5. The JAVA_HOME is controlled by the OS via “Java Preferences App” and is set to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home. ( see log )

    #302820 Reply

    support-joy
    Member

    wbwiles,

    Generally JAVA_HOME variable should have the value which refers your installed java directory. You need to set JAVA_HOME manually.

    I would recommend you to check if you have JAVA_HOME under your Environment Variables.

    If you couldn’t able to locate the same, I would recommend you to follow the below steps to set JAVA_HOME variable.

    1) Locate MyComputer on your desktop.(or press “windows” key+”pause” key)
    2) Right click on MyComputer and select properties.
    3) Choose “Advanced” tab.
    4) Click “Environment Variables” button located at bottom.
    5) Click “New” button in user variables pane.
    6) Enter “JAVA_HOME” in variable name text field.
    7) Enter your java installation directory path in variable value text field.
    8) Click OK

    Then reopen and start Geronimo 2 Server.

    I hope this works for you.

    #302832 Reply

    Wade Wiles
    Member

    Hi Joy,

    Perhaps I didn’t make myself clear. I’m using an APPLE COMPUTER. Your instructions to press the “WINDOWS” key doesn’t work since I don’t have one. Perhaps you can engage somebody from the Mac Team?

    Here is a dump of my envionment from the TERMINAL application:

    Apple_PubSub_Socket_Render=/tmp/launch-BUzmC7/Render
    BASH=/bin/bash
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_LINENO=()
    BASH_SOURCE=()
    BASH_VERSINFO=([0]=”3″ [1]=”2″ [2]=”17″ [3]=”1″ [4]=”release” [5]=”i386-apple-darwin9.0″)
    BASH_VERSION=’3.2.17(1)-release’
    COLUMNS=80
    COMMAND_MODE=unix2003
    DIRSTACK=()
    DISPLAY=/tmp/launch-KB0tEx/:0
    DYLD_LIBRARY_PATH=/usr/local/ImageMagick-6.4.8/lib
    EUID=502
    GROUPS=()
    HOSTTYPE=i386
    IFS=$’ \t\n’
    JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
    LANG=en_US.UTF-8
    LINES=24
    MACHTYPE=i386-apple-darwin9.0
    MAILCHECK=60
    MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
    OPTERR=1
    OPTIND=1
    OSTYPE=darwin9.0
    PATH=:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/ImageMagick-6.4.8/bin
    PIPESTATUS=([0]=”0″)
    PPID=2612
    PS1=’\h:\W \u\$ ‘
    PS2=’> ‘
    PS4=’+ ‘
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
    SHLVL=1
    SSH_AUTH_SOCK=/tmp/launch-D4im8B/Listeners
    TERM=xterm-color
    TERM_PROGRAM=Apple_Terminal
    TERM_PROGRAM_VERSION=240.2

    #302842 Reply

    Wade Wiles
    Member

    Well, in the time it took to get a reply, I debugged the difference between the Java Arguments ME has and what Ganymede Eclipse has. Guess what? If I use the Ganymede launch config args, it works. Thanks for nothing.

    Here is the ME args:
    -Djava.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin
    -Dorg.apache.geronimo.base.dir=/Applications/geronimo-tomcat6-javaee5-2.1.4
    -Djava.io.tmpdir=/Applications/geronimo-tomcat6-javaee5-2.1.4/var/temp
    -Djava.ext.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/jre/lib/ext:”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/ext”
    -Djava.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/jre/lib/endorsed:”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed”

    Here is the WORKING arguements from Eclipse Ganymede:
    -javaagent:”/Applications/geronimo-tomcat6-javaee5-2.1.4/bin/jpa.jar”
    -Djava.ext.dirs=”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/ext:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext”
    -Djava.endorsed.dirs=”/Applications/geronimo-tomcat6-javaee5-2.1.4/lib/endorsed:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed”

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Startup Error on Geronimo 2

You must be logged in to post in the forum log in