You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by rommie <ro...@gmail.com> on 2008/03/07 09:23:45 UTC

Can't start Geronimo 2.1 with Fedora Core 8

I already tried to play with different ports in
config-substitutions.properties but this same error I got

Apache Geronimo (2.1)

Type 'help' for more information.
------------------------------------------------------------------------------------------------------------------------------------------------------------
Launching Geronimo Server...
Booting Geronimo Kernel (in Java 1.7.0)...
Module  1/61 org.apache.geronimo.framework/j2ee-security/2.1/car                
started in  2.410s
Module  2/61 org.apache.geronimo.framework/rmi-naming/2.1/car                   
started in   .000s
Module  3/61 org.apache.geronimo.framework/j2ee-system/2.1/car                  
started in   .000s
Module  4/61 org.apache.geronimo.framework/jee-specs/2.1/car                    
started in   .000s
Module  5/61 org.apache.geronimo.framework/transformer-agent/2.1/car            
started in   .001s
Module  6/61 org.apache.geronimo.framework/server-security-config/2.1/car       
started in   .234s
Module  7/61 org.apache.geronimo.framework/plugin/2.1/car                       
started in   .832s
Module  8/61 org.apache.geronimo.framework/xmlbeans/2.1/car                     
started in   .000s
Module  9/61 org.apache.geronimo.configs/myfaces-deployer/2.1/car               
started in  2.284s
Module 10/61 org.apache.geronimo.configs/myfaces/2.1/car                        
started in   .250s
Module 11/61 org.apache.geronimo.configs/j2ee-server/2.1/car                    
started in   .000s
Module 12/61 org.apache.geronimo.configs/j2ee-deployer/2.1/car                  
started in   .000s
Module 13/61 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1/car      
started in   .000s
Module 14/61 org.apache.geronimo.configs/activemq-ra/2.1/car                    
started in 16.290s
Module 15/61 org.apache.geronimo.configs/activemq-broker/2.1/car                
started in   .002s
Module 16/61 org.apache.geronimo.configs/system-database/2.1/car                
started in   .002s
Module 17/61 org.apache.geronimo.configs/transaction/2.1/car                    
started in   .000s
Module 18/61 org.apache.geronimo.configs/uddi-tomcat/2.1/car                   
14:37:30,255 ERROR [Http11Protocol] Error initializing endpoint
java.io.IOException: Invalid keystore format
        at
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
        at
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
        at java.security.KeyStore.load(KeyStore.java:1202)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:319)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(JSSESocketFactory.java:293)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:444)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:378)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:135)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:498)
        at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
        at
org.apache.catalina.core.StandardService.addConnector(StandardService.java:267)
        at
org.apache.catalina.startup.Embedded.addConnector(Embedded.java:327)
        at
org.apache.geronimo.tomcat.TomcatContainer.addConnector(TomcatContainer.java:386)
        at
org.apache.geronimo.tomcat.connector.ConnectorGBean.doStart(ConnectorGBean.java:95)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
        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.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)

-- 
View this message in context: http://www.nabble.com/Can%27t-start-Geronimo-2.1-with-Fedora-Core-8-tp15891085s134p15891085.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Can't start Geronimo 2.1 with Fedora Core 8

Posted by rommie <ro...@gmail.com>.
Yes. it worked.  I removed the java-1.7.0-icedtea package preinstalled with
Fedora 8, then I tried java 1.6.04 which seemed to work with geronimo 2.1

rommie


Vamsavardhana Reddy-2 wrote:
> 
> Hello,
> 
> You seem to be using Java 1.7.  Is it Sun's JDK/JRE?  Geronimo is
> certified
> on Sun Java 1.5.  Trying using Sun JDK/JRE 1.5.
> 
> ++Vamsi
> 
> On Fri, Mar 7, 2008 at 1:53 PM, rommie <ro...@gmail.com> wrote:
> 
>>
>> I already tried to play with different ports in
>> config-substitutions.properties but this same error I got
>>
>> Apache Geronimo (2.1)
>>
>> Type 'help' for more information.
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Launching Geronimo Server...
>> Booting Geronimo Kernel (in Java 1.7.0)...
>> Module  1/61 org.apache.geronimo.framework/j2ee-security/2.1/car
>> started in  2.410s
>> Module  2/61 org.apache.geronimo.framework/rmi-naming/2.1/car
>> started in   .000s
>> Module  3/61 org.apache.geronimo.framework/j2ee-system/2.1/car
>> started in   .000s
>> Module  4/61 org.apache.geronimo.framework/jee-specs/2.1/car
>> started in   .000s
>> Module  5/61 org.apache.geronimo.framework/transformer-agent/2.1/car
>> started in   .001s
>> Module  6/61 org.apache.geronimo.framework/server-security-config/2.1/car
>> started in   .234s
>> Module  7/61 org.apache.geronimo.framework/plugin/2.1/car
>> started in   .832s
>> Module  8/61 org.apache.geronimo.framework/xmlbeans/2.1/car
>> started in   .000s
>> Module  9/61 org.apache.geronimo.configs/myfaces-deployer/2.1/car
>> started in  2.284s
>> Module 10/61 org.apache.geronimo.configs/myfaces/2.1/car
>> started in   .250s
>> Module 11/61 org.apache.geronimo.configs/j2ee-server/2.1/car
>> started in   .000s
>> Module 12/61 org.apache.geronimo.configs/j2ee-deployer/2.1/car
>> started in   .000s
>> Module 13/61
>> org.apache.geronimo.framework/geronimo-gbean-deployer/2.1/car
>> started in   .000s
>> Module 14/61 org.apache.geronimo.configs/activemq-ra/2.1/car
>> started in 16.290s
>> Module 15/61 org.apache.geronimo.configs/activemq-broker/2.1/car
>> started in   .002s
>> Module 16/61 org.apache.geronimo.configs/system-database/2.1/car
>> started in   .002s
>> Module 17/61 org.apache.geronimo.configs/transaction/2.1/car
>> started in   .000s
>> Module 18/61 org.apache.geronimo.configs/uddi-tomcat/2.1/car
>> 14:37:30,255 ERROR [Http11Protocol] Error initializing endpoint
>> java.io.IOException: Invalid keystore format
>>        at
>> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>>        at
>> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>>        at java.security.KeyStore.load(KeyStore.java:1202)
>>        at
>> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
>> JSSESocketFactory.java:319)
>>        at
>> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(
>> JSSESocketFactory.java:293)
>>        at
>> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(
>> JSSESocketFactory.java:444)
>>        at
>> org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(
>> JSSESocketFactory.java:378)
>>        at
>> org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
>> JSSESocketFactory.java:135)
>>        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java
>> :498)
>>        at
>> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
>>        at
>> org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
>>        at
>> org.apache.catalina.core.StandardService.addConnector(StandardService.java
>> :267)
>>        at
>> org.apache.catalina.startup.Embedded.addConnector(Embedded.java:327)
>>        at
>> org.apache.geronimo.tomcat.TomcatContainer.addConnector(
>> TomcatContainer.java:386)
>>        at
>> org.apache.geronimo.tomcat.connector.ConnectorGBean.doStart(
>> ConnectorGBean.java:95)
>>        at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
>> GBeanInstance.java:998)
>>        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.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)
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Can%27t-start-Geronimo-2.1-with-Fedora-Core-8-tp15891085s134p15891085.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Can%27t-start-Geronimo-2.1-with-Fedora-Core-8-tp15891085s134p15950123.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Can't start Geronimo 2.1 with Fedora Core 8

Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Hello,

You seem to be using Java 1.7.  Is it Sun's JDK/JRE?  Geronimo is certified
on Sun Java 1.5.  Trying using Sun JDK/JRE 1.5.

++Vamsi

On Fri, Mar 7, 2008 at 1:53 PM, rommie <ro...@gmail.com> wrote:

>
> I already tried to play with different ports in
> config-substitutions.properties but this same error I got
>
> Apache Geronimo (2.1)
>
> Type 'help' for more information.
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> Launching Geronimo Server...
> Booting Geronimo Kernel (in Java 1.7.0)...
> Module  1/61 org.apache.geronimo.framework/j2ee-security/2.1/car
> started in  2.410s
> Module  2/61 org.apache.geronimo.framework/rmi-naming/2.1/car
> started in   .000s
> Module  3/61 org.apache.geronimo.framework/j2ee-system/2.1/car
> started in   .000s
> Module  4/61 org.apache.geronimo.framework/jee-specs/2.1/car
> started in   .000s
> Module  5/61 org.apache.geronimo.framework/transformer-agent/2.1/car
> started in   .001s
> Module  6/61 org.apache.geronimo.framework/server-security-config/2.1/car
> started in   .234s
> Module  7/61 org.apache.geronimo.framework/plugin/2.1/car
> started in   .832s
> Module  8/61 org.apache.geronimo.framework/xmlbeans/2.1/car
> started in   .000s
> Module  9/61 org.apache.geronimo.configs/myfaces-deployer/2.1/car
> started in  2.284s
> Module 10/61 org.apache.geronimo.configs/myfaces/2.1/car
> started in   .250s
> Module 11/61 org.apache.geronimo.configs/j2ee-server/2.1/car
> started in   .000s
> Module 12/61 org.apache.geronimo.configs/j2ee-deployer/2.1/car
> started in   .000s
> Module 13/61 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1/car
> started in   .000s
> Module 14/61 org.apache.geronimo.configs/activemq-ra/2.1/car
> started in 16.290s
> Module 15/61 org.apache.geronimo.configs/activemq-broker/2.1/car
> started in   .002s
> Module 16/61 org.apache.geronimo.configs/system-database/2.1/car
> started in   .002s
> Module 17/61 org.apache.geronimo.configs/transaction/2.1/car
> started in   .000s
> Module 18/61 org.apache.geronimo.configs/uddi-tomcat/2.1/car
> 14:37:30,255 ERROR [Http11Protocol] Error initializing endpoint
> java.io.IOException: Invalid keystore format
>        at
> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>        at
> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>        at java.security.KeyStore.load(KeyStore.java:1202)
>        at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
> JSSESocketFactory.java:319)
>        at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(
> JSSESocketFactory.java:293)
>        at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(
> JSSESocketFactory.java:444)
>        at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(
> JSSESocketFactory.java:378)
>        at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
> JSSESocketFactory.java:135)
>        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java
> :498)
>        at
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
>        at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
>        at
> org.apache.catalina.core.StandardService.addConnector(StandardService.java
> :267)
>        at
> org.apache.catalina.startup.Embedded.addConnector(Embedded.java:327)
>        at
> org.apache.geronimo.tomcat.TomcatContainer.addConnector(
> TomcatContainer.java:386)
>        at
> org.apache.geronimo.tomcat.connector.ConnectorGBean.doStart(
> ConnectorGBean.java:95)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
> GBeanInstance.java:998)
>        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.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)
>
> --
> View this message in context:
> http://www.nabble.com/Can%27t-start-Geronimo-2.1-with-Fedora-Core-8-tp15891085s134p15891085.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Re: Can't start Geronimo 2.1 with Fedora Core 8

Posted by Donald Woods <dw...@apache.org>.
WASCE questions should be directed to the IBM forum -
   http://www.ibm.com/developerworks/forums/forum.jspa?forumID=541


-Donald


samifiaz wrote:
> Hi rommie ,
>  I think I am also facing the same problem , i can start the server but on
> publishing , it throws the following exception
> Could not publish to the server.
> java.lang.NullPointerException
> 
> I thing i have the same issue of java 1.7. 
> I have installed java sdk from ibm by running its rpm.It was installed in
> opt/ibm/java2-i386-50/ directory.
> I then entered the following command to enter it in config file:
> /usr/sbin/alternatives --install /usr/bin/java java
> /opt/ibm/java2-i386-50/jre/bin java 2
> and
> /usr/sbin/alternatives --install /usr/bin/java java
> /opt/ibm/java2-i386-50/bin java 2
> 
> Then by 
> /usr/sbin/alternatives --config java
> selected this newly added option 
> 
> But when i started the server again it start booting again in java 1.7
> 
> can you please guide me the rite way so that i can start the server by
> booting in java 1.5. 
> I am newbie to linux and first time using wasce,  your responce means alot
> to me .Thanks in advance.
> regards,
> sami
> 

Re: Can't start Geronimo 2.1 with Fedora Core 8

Posted by samifiaz <sa...@gmail.com>.
Hi rommie ,
 I think I am also facing the same problem , i can start the server but on
publishing , it throws the following exception
Could not publish to the server.
java.lang.NullPointerException

I thing i have the same issue of java 1.7. 
I have installed java sdk from ibm by running its rpm.It was installed in
opt/ibm/java2-i386-50/ directory.
I then entered the following command to enter it in config file:
/usr/sbin/alternatives --install /usr/bin/java java
/opt/ibm/java2-i386-50/jre/bin java 2
and
/usr/sbin/alternatives --install /usr/bin/java java
/opt/ibm/java2-i386-50/bin java 2

Then by 
/usr/sbin/alternatives --config java
selected this newly added option 

But when i started the server again it start booting again in java 1.7

can you please guide me the rite way so that i can start the server by
booting in java 1.5. 
I am newbie to linux and first time using wasce,  your responce means alot
to me .Thanks in advance.
regards,
sami

-- 
View this message in context: http://www.nabble.com/Can%27t-start-Geronimo-2.1-with-Fedora-Core-8-tp15891085s134p19387866.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.