I am getting Invalid key store Format

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

I am getting Invalid key store Format

S K Pradeep kumar
Hi all,

 I am trying to run the ofbiz application in the dedicated linux(godaddy) server we have purchased,
 Simply i have uploaded the application and try to start the application. But i am getting the
 Invalid Key store Format exception

Anybody tell me what might be the problem and how can i resolve this.

Logs :

2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
---- exception report ----------------------------------------------------------
Exception: java.io.IOException
Message: Invalid keystore format
---- stack trace ---------------------------------------------------------------
java.io.IOException: Invalid keystore format
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
java.security.KeyStore.load(KeyStore.java:1202)
org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:539)
java.lang.Class.newInstance0(Class.java:373)
java.lang.Class.newInstance(Class.java:326)
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
org.ofbiz.base.start.Start.init(Start.java:89)
org.ofbiz.base.start.Start.main(Start.java:398)
--------------------------------------------------------------------------------

2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error initializin


Please find the full logs in the attachment.


With regards,
S K Pradeep kumar,


ofbiz.log.txt (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

Jeroen van der Wal-2
Looks like you've got the wrong java version What java version are you
using? Type java -version on the command line. Ofbiz requires Java 1.6

Jeroen van der Wal
Stromboli b.v.
+31 655 874050



On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
<[hidden email]> wrote:

> Hi all,
>
>  I am trying to run the ofbiz application in the dedicated linux(godaddy)
> server we have purchased,
>  Simply i have uploaded the application and try to start the application.
> But i am getting the
>  Invalid Key store Format exception
>
> Anybody tell me what might be the problem and how can i resolve this.
>
> Logs :
>
> 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
> Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: java.io.IOException
> Message: Invalid keystore format
> ---- stack trace
> ---------------------------------------------------------------
> java.io.IOException: Invalid keystore format
> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
> java.security.KeyStore.load(KeyStore.java:1202)
> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
> org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
> org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:539)
> java.lang.Class.newInstance0(Class.java:373)
> java.lang.Class.newInstance(Class.java:326)
> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
> org.ofbiz.base.start.Start.init(Start.java:89)
> org.ofbiz.base.start.Start.main(Start.java:398)
> --------------------------------------------------------------------------------
>
> 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error
> initializin
>
>
> Please find the full logs in the attachment.
>
>
> With regards,
> S K Pradeep kumar,
>
>
Reply | Threaded
Open this post in threaded view
|

RE: I am getting Invalid key store Format

Abhai Chaudhary
In reply to this post by S K Pradeep kumar
How did you build yr keystore file?


From: S K Pradeep kumar [mailto:[hidden email]]
Sent: Wednesday, December 16, 2009 6:27 AM
To: [hidden email]
Subject: I am getting Invalid key store Format

Hi all,

 I am trying to run the ofbiz application in the dedicated linux(godaddy) server we have purchased,
 Simply i have uploaded the application and try to start the application. But i am getting the
 Invalid Key store Format exception

Anybody tell me what might be the problem and how can i resolve this.

Logs :

2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
---- exception report ----------------------------------------------------------
Exception: java.io.IOException
Message: Invalid keystore format
---- stack trace ---------------------------------------------------------------
java.io.IOException: Invalid keystore format
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
java.security.KeyStore.load(KeyStore.java:1202)
org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:539)
java.lang.Class.newInstance0(Class.java:373)
java.lang.Class.newInstance(Class.java:326)
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
org.ofbiz.base.start.Start.init(Start.java:89)
org.ofbiz.base.start.Start.main(Start.java:398)
--------------------------------------------------------------------------------

2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error initializin


Please find the full logs in the attachment.


With regards,
S K Pradeep kumar,

________________________________
http://www.mindtree.com/email/disclaimer.html
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

S K Pradeep kumar
Hi,
i have build my keystore like this

*e.g keytool -genkey -alias tomcat -keyalg RSA -keystore ofbizssl.jks



*With regards,
S K Pradeep kumar,



On Wed, Dec 16, 2009 at 8:30 PM, Abhai Chaudhary <
[hidden email]> wrote:

> How did you build yr keystore file?
>
>
> From: S K Pradeep kumar [mailto:[hidden email]]
> Sent: Wednesday, December 16, 2009 6:27 AM
> To: [hidden email]
> Subject: I am getting Invalid key store Format
>
> Hi all,
>
>  I am trying to run the ofbiz application in the dedicated linux(godaddy)
> server we have purchased,
>  Simply i have uploaded the application and try to start the application.
> But i am getting the
>  Invalid Key store Format exception
>
> Anybody tell me what might be the problem and how can i resolve this.
>
> Logs :
>
> 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
> Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: java.io.IOException
> Message: Invalid keystore format
> ---- stack trace
> ---------------------------------------------------------------
> java.io.IOException: Invalid keystore format
> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
> java.security.KeyStore.load(KeyStore.java:1202)
> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
> org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
>
> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
> org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:539)
> java.lang.Class.newInstance0(Class.java:373)
> java.lang.Class.newInstance(Class.java:326)
>
> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
>
> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
>
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
> org.ofbiz.base.start.Start.init(Start.java:89)
> org.ofbiz.base.start.Start.main(Start.java:398)
>
> --------------------------------------------------------------------------------
>
> 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error
> initializin
>
>
> Please find the full logs in the attachment.
>
>
> With regards,
> S K Pradeep kumar,
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

S K Pradeep kumar
In reply to this post by Jeroen van der Wal-2
Hi Jeroen ,

My
Java version details

java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Server VM (build 1.7.0-b21, mixed mode)


With regards,
S K Pradeep kumar,



On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <[hidden email]
> wrote:

> Looks like you've got the wrong java version What java version are you
> using? Type java -version on the command line. Ofbiz requires Java 1.6
>
> Jeroen van der Wal
> Stromboli b.v.
> +31 655 874050
>
>
>
> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
> <[hidden email]> wrote:
> > Hi all,
> >
> >  I am trying to run the ofbiz application in the dedicated linux(godaddy)
> > server we have purchased,
> >  Simply i have uploaded the application and try to start the application.
> > But i am getting the
> >  Invalid Key store Format exception
> >
> > Anybody tell me what might be the problem and how can i resolve this.
> >
> > Logs :
> >
> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
> > ---- exception report
> > ----------------------------------------------------------
> > Exception: java.io.IOException
> > Message: Invalid keystore format
> > ---- stack trace
> > ---------------------------------------------------------------
> > java.io.IOException: Invalid keystore format
> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
> > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
> > java.security.KeyStore.load(KeyStore.java:1202)
> >
> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
> >
> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
> > java.lang.Class.newInstance0(Class.java:373)
> > java.lang.Class.newInstance(Class.java:326)
> >
> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
> > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> > org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
> >
> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
> >
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
> >
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
> > org.ofbiz.base.start.Start.init(Start.java:89)
> > org.ofbiz.base.start.Start.main(Start.java:398)
> >
> --------------------------------------------------------------------------------
> >
> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error
> > initializin
> >
> >
> > Please find the full logs in the attachment.
> >
> >
> > With regards,
> > S K Pradeep kumar,
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

Jacques Le Roux
Administrator
Did you try with the recommended version (ie Sun java 1.6)?

Jacques

From: "S K Pradeep kumar" <[hidden email]>

> Hi Jeroen ,
>
> My
> Java version details
>
> java version "1.7.0"
> IcedTea Runtime Environment (build 1.7.0-b21)
> IcedTea Server VM (build 1.7.0-b21, mixed mode)
>
>
> With regards,
> S K Pradeep kumar,
>
>
>
> On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <[hidden email]
>> wrote:
>
>> Looks like you've got the wrong java version What java version are you
>> using? Type java -version on the command line. Ofbiz requires Java 1.6
>>
>> Jeroen van der Wal
>> Stromboli b.v.
>> +31 655 874050
>>
>>
>>
>> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
>> <[hidden email]> wrote:
>> > Hi all,
>> >
>> >  I am trying to run the ofbiz application in the dedicated linux(godaddy)
>> > server we have purchased,
>> >  Simply i have uploaded the application and try to start the application.
>> > But i am getting the
>> >  Invalid Key store Format exception
>> >
>> > Anybody tell me what might be the problem and how can i resolve this.
>> >
>> > Logs :
>> >
>> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
>> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
>> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
>> > ---- exception report
>> > ----------------------------------------------------------
>> > Exception: java.io.IOException
>> > Message: Invalid keystore format
>> > ---- stack trace
>> > ---------------------------------------------------------------
>> > java.io.IOException: Invalid keystore format
>> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>> > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>> > java.security.KeyStore.load(KeyStore.java:1202)
>> >
>> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
>> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
>> >
>> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
>> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> >
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>> >
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
>> > java.lang.Class.newInstance0(Class.java:373)
>> > java.lang.Class.newInstance(Class.java:326)
>> >
>> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
>> > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
>> > org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
>> >
>> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>> >
>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
>> >
>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
>> > org.ofbiz.base.start.Start.init(Start.java:89)
>> > org.ofbiz.base.start.Start.main(Start.java:398)
>> >
>> --------------------------------------------------------------------------------
>> >
>> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR] Error
>> > initializin
>> >
>> >
>> > Please find the full logs in the attachment.
>> >
>> >
>> > With regards,
>> > S K Pradeep kumar,
>> >
>> >
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

S K Pradeep kumar
Hi all,

Am i need to change the apache(httpd) ports, because httpd also using 8080
and 8443 ports,

if yes can anybody tell me the steps.

thanks in advance.

With regards,
S K Pradeep kumar,



On Thu, Dec 17, 2009 at 11:01 AM, Jacques Le Roux <
[hidden email]> wrote:

> Did you try with the recommended version (ie Sun java 1.6)?
>
> Jacques
>
> From: "S K Pradeep kumar" <[hidden email]>
>
>  Hi Jeroen ,
>>
>> My
>> Java version details
>>
>> java version "1.7.0"
>> IcedTea Runtime Environment (build 1.7.0-b21)
>> IcedTea Server VM (build 1.7.0-b21, mixed mode)
>>
>>
>> With regards,
>> S K Pradeep kumar,
>>
>>
>>
>> On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <
>> [hidden email]
>>
>>> wrote:
>>>
>>
>>  Looks like you've got the wrong java version What java version are you
>>> using? Type java -version on the command line. Ofbiz requires Java 1.6
>>>
>>> Jeroen van der Wal
>>> Stromboli b.v.
>>> +31 655 874050
>>>
>>>
>>>
>>> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
>>> <[hidden email]> wrote:
>>> > Hi all,
>>> >
>>> >  I am trying to run the ofbiz application in the dedicated
>>> linux(godaddy)
>>> > server we have purchased,
>>> >  Simply i have uploaded the application and try to start the
>>> application.
>>> > But i am getting the
>>> >  Invalid Key store Format exception
>>> >
>>> > Anybody tell me what might be the problem and how can i resolve this.
>>> >
>>> > Logs :
>>> >
>>> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
>>> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
>>> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
>>> > ---- exception report
>>> > ----------------------------------------------------------
>>> > Exception: java.io.IOException
>>> > Message: Invalid keystore format
>>> > ---- stack trace
>>> > ---------------------------------------------------------------
>>> > java.io.IOException: Invalid keystore format
>>> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>>> > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>>> > java.security.KeyStore.load(KeyStore.java:1202)
>>> >
>>>
>>> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
>>> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
>>> >
>>>
>>> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
>>> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
>>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> >
>>>
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>> >
>>>
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
>>> > java.lang.Class.newInstance0(Class.java:373)
>>> > java.lang.Class.newInstance(Class.java:326)
>>> >
>>>
>>> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
>>> > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
>>> > org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
>>> >
>>>
>>> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>>> >
>>>
>>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
>>> >
>>>
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>>> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>>> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
>>> > org.ofbiz.base.start.Start.init(Start.java:89)
>>> > org.ofbiz.base.start.Start.main(Start.java:398)
>>> >
>>>
>>> --------------------------------------------------------------------------------
>>> >
>>> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR]
>>> Error
>>> > initializin
>>> >
>>> >
>>> > Please find the full logs in the attachment.
>>> >
>>> >
>>> > With regards,
>>> > S K Pradeep kumar,
>>> >
>>> >
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

Jacques Le Roux
Administrator
Looks like the documentation is hard to read
http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-Ports,DefaultValues

Jacques

From: "S K Pradeep kumar" <[hidden email]>

> Hi all,
>
> Am i need to change the apache(httpd) ports, because httpd also using 8080
> and 8443 ports,
>
> if yes can anybody tell me the steps.
>
> thanks in advance.
>
> With regards,
> S K Pradeep kumar,
>
>
>
> On Thu, Dec 17, 2009 at 11:01 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Did you try with the recommended version (ie Sun java 1.6)?
>>
>> Jacques
>>
>> From: "S K Pradeep kumar" <[hidden email]>
>>
>>  Hi Jeroen ,
>>>
>>> My
>>> Java version details
>>>
>>> java version "1.7.0"
>>> IcedTea Runtime Environment (build 1.7.0-b21)
>>> IcedTea Server VM (build 1.7.0-b21, mixed mode)
>>>
>>>
>>> With regards,
>>> S K Pradeep kumar,
>>>
>>>
>>>
>>> On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <
>>> [hidden email]
>>>
>>>> wrote:
>>>>
>>>
>>>  Looks like you've got the wrong java version What java version are you
>>>> using? Type java -version on the command line. Ofbiz requires Java 1.6
>>>>
>>>> Jeroen van der Wal
>>>> Stromboli b.v.
>>>> +31 655 874050
>>>>
>>>>
>>>>
>>>> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
>>>> <[hidden email]> wrote:
>>>> > Hi all,
>>>> >
>>>> >  I am trying to run the ofbiz application in the dedicated
>>>> linux(godaddy)
>>>> > server we have purchased,
>>>> >  Simply i have uploaded the application and try to start the
>>>> application.
>>>> > But i am getting the
>>>> >  Invalid Key store Format exception
>>>> >
>>>> > Anybody tell me what might be the problem and how can i resolve this.
>>>> >
>>>> > Logs :
>>>> >
>>>> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
>>>> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
>>>> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
>>>> > ---- exception report
>>>> > ----------------------------------------------------------
>>>> > Exception: java.io.IOException
>>>> > Message: Invalid keystore format
>>>> > ---- stack trace
>>>> > ---------------------------------------------------------------
>>>> > java.io.IOException: Invalid keystore format
>>>> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>>>> > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>>>> > java.security.KeyStore.load(KeyStore.java:1202)
>>>> >
>>>>
>>>> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
>>>> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
>>>> >
>>>>
>>>> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
>>>> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
>>>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>>> >
>>>>
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>>> >
>>>>
>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
>>>> > java.lang.Class.newInstance0(Class.java:373)
>>>> > java.lang.Class.newInstance(Class.java:326)
>>>> >
>>>>
>>>> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
>>>> > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
>>>> > org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
>>>> >
>>>>
>>>> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>>>> >
>>>>
>>>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
>>>> >
>>>>
>>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>>>> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>>>> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
>>>> > org.ofbiz.base.start.Start.init(Start.java:89)
>>>> > org.ofbiz.base.start.Start.main(Start.java:398)
>>>> >
>>>>
>>>> --------------------------------------------------------------------------------
>>>> >
>>>> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR]
>>>> Error
>>>> > initializin
>>>> >
>>>> >
>>>> > Please find the full logs in the attachment.
>>>> >
>>>> >
>>>> > With regards,
>>>> > S K Pradeep kumar,
>>>> >
>>>> >
>>>>
>>>>
>>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

Jeroen van der Wal-2
In reply to this post by S K Pradeep kumar
Try this document:
http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

On Thu, Dec 17, 2009 at 2:24 PM, S K Pradeep kumar
<[hidden email]> wrote:

> Hi all,
>
> Am i need to change the apache(httpd) ports, because httpd also using 8080
> and 8443 ports,
>
> if yes can anybody tell me the steps.
>
> thanks in advance.
>
> With regards,
> S K Pradeep kumar,
>
>
>
> On Thu, Dec 17, 2009 at 11:01 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Did you try with the recommended version (ie Sun java 1.6)?
>>
>> Jacques
>>
>> From: "S K Pradeep kumar" <[hidden email]>
>>
>>  Hi Jeroen ,
>>>
>>> My
>>> Java version details
>>>
>>> java version "1.7.0"
>>> IcedTea Runtime Environment (build 1.7.0-b21)
>>> IcedTea Server VM (build 1.7.0-b21, mixed mode)
>>>
>>>
>>> With regards,
>>> S K Pradeep kumar,
>>>
>>>
>>>
>>> On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <
>>> [hidden email]
>>>
>>>> wrote:
>>>>
>>>
>>>  Looks like you've got the wrong java version What java version are you
>>>> using? Type java -version on the command line. Ofbiz requires Java 1.6
>>>>
>>>> Jeroen van der Wal
>>>> Stromboli b.v.
>>>> +31 655 874050
>>>>
>>>>
>>>>
>>>> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
>>>> <[hidden email]> wrote:
>>>> > Hi all,
>>>> >
>>>> >  I am trying to run the ofbiz application in the dedicated
>>>> linux(godaddy)
>>>> > server we have purchased,
>>>> >  Simply i have uploaded the application and try to start the
>>>> application.
>>>> > But i am getting the
>>>> >  Invalid Key store Format exception
>>>> >
>>>> > Anybody tell me what might be the problem and how can i resolve this.
>>>> >
>>>> > Logs :
>>>> >
>>>> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
>>>> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
>>>> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
>>>> > ---- exception report
>>>> > ----------------------------------------------------------
>>>> > Exception: java.io.IOException
>>>> > Message: Invalid keystore format
>>>> > ---- stack trace
>>>> > ---------------------------------------------------------------
>>>> > java.io.IOException: Invalid keystore format
>>>> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
>>>> > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
>>>> > java.security.KeyStore.load(KeyStore.java:1202)
>>>> >
>>>>
>>>> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
>>>> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
>>>> >
>>>>
>>>> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
>>>> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
>>>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>>> >
>>>>
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>>> >
>>>>
>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
>>>> > java.lang.Class.newInstance0(Class.java:373)
>>>> > java.lang.Class.newInstance(Class.java:326)
>>>> >
>>>>
>>>> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
>>>> > org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
>>>> > org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
>>>> >
>>>>
>>>> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>>>> >
>>>>
>>>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
>>>> >
>>>>
>>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>>>> > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>>>> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
>>>> > org.ofbiz.base.start.Start.init(Start.java:89)
>>>> > org.ofbiz.base.start.Start.main(Start.java:398)
>>>> >
>>>>
>>>> --------------------------------------------------------------------------------
>>>> >
>>>> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR]
>>>> Error
>>>> > initializin
>>>> >
>>>> >
>>>> > Please find the full logs in the attachment.
>>>> >
>>>> >
>>>> > With regards,
>>>> > S K Pradeep kumar,
>>>> >
>>>> >
>>>>
>>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: I am getting Invalid key store Format

S K Pradeep kumar
Hi all,

 I am trying the same procedure to generate the jks, but in the step5
5. Import the Certificate into the keystore by running:
"keytool -import -alias ssl -trustcacerts -file mysignedcert.cer -keystore
[keystore name]"

i am getting failed.

# keytool -import -alias ssl -trustcacerts -file intermediateCA1.cer
-keystore skp.jks
Enter keystore password:changeit
keytool error: java.lang.Exception: Public keys in reply and keystore don't
match

My server is having a firewall is that going to create a problem for me.


thanks, in advance.


With regards,
S K Pradeep kumar,



On Sat, Dec 19, 2009 at 2:45 PM, Jeroen van der Wal <[hidden email]
> wrote:

> Try this document:
>
> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
>
> On Thu, Dec 17, 2009 at 2:24 PM, S K Pradeep kumar
> <[hidden email]> wrote:
> > Hi all,
> >
> > Am i need to change the apache(httpd) ports, because httpd also using
> 8080
> > and 8443 ports,
> >
> > if yes can anybody tell me the steps.
> >
> > thanks in advance.
> >
> > With regards,
> > S K Pradeep kumar,
> >
> >
> >
> > On Thu, Dec 17, 2009 at 11:01 AM, Jacques Le Roux <
> > [hidden email]> wrote:
> >
> >> Did you try with the recommended version (ie Sun java 1.6)?
> >>
> >> Jacques
> >>
> >> From: "S K Pradeep kumar" <[hidden email]>
> >>
> >>  Hi Jeroen ,
> >>>
> >>> My
> >>> Java version details
> >>>
> >>> java version "1.7.0"
> >>> IcedTea Runtime Environment (build 1.7.0-b21)
> >>> IcedTea Server VM (build 1.7.0-b21, mixed mode)
> >>>
> >>>
> >>> With regards,
> >>> S K Pradeep kumar,
> >>>
> >>>
> >>>
> >>> On Wed, Dec 16, 2009 at 8:25 PM, Jeroen van der Wal <
> >>> [hidden email]
> >>>
> >>>> wrote:
> >>>>
> >>>
> >>>  Looks like you've got the wrong java version What java version are you
> >>>> using? Type java -version on the command line. Ofbiz requires Java 1.6
> >>>>
> >>>> Jeroen van der Wal
> >>>> Stromboli b.v.
> >>>> +31 655 874050
> >>>>
> >>>>
> >>>>
> >>>> On Wed, Dec 16, 2009 at 3:26 PM, S K Pradeep kumar
> >>>> <[hidden email]> wrote:
> >>>> > Hi all,
> >>>> >
> >>>> >  I am trying to run the ofbiz application in the dedicated
> >>>> linux(godaddy)
> >>>> > server we have purchased,
> >>>> >  Simply i have uploaded the application and try to start the
> >>>> application.
> >>>> > But i am getting the
> >>>> >  Invalid Key store Format exception
> >>>> >
> >>>> > Anybody tell me what might be the problem and how can i resolve
> this.
> >>>> >
> >>>> > Logs :
> >>>> >
> >>>> > 2009-12-16 10:21:04,659 (main) [     Http11Protocol.java:182:INFO ]
> >>>> > Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> >>>> > 2009-12-16 10:21:04,683 (main) [            SSLImpl.java:64 :ERROR]
> >>>> > ---- exception report
> >>>> > ----------------------------------------------------------
> >>>> > Exception: java.io.IOException
> >>>> > Message: Invalid keystore format
> >>>> > ---- stack trace
> >>>> > ---------------------------------------------------------------
> >>>> > java.io.IOException: Invalid keystore format
> >>>> > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:651)
> >>>> >
> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
> >>>> > java.security.KeyStore.load(KeyStore.java:1202)
> >>>> >
> >>>>
> >>>>
> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:110)
> >>>> > org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:106)
> >>>> >
> >>>>
> >>>>
> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:62)
> >>>> > org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:48)
> >>>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> >>>> >
> >>>>
> >>>>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >>>> >
> >>>>
> >>>>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >>>> > java.lang.reflect.Constructor.newInstance(Constructor.java:539)
> >>>> > java.lang.Class.newInstance0(Class.java:373)
> >>>> > java.lang.Class.newInstance(Class.java:326)
> >>>> >
> >>>>
> >>>>
> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:75)
> >>>> >
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> >>>> >
> org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
> >>>> >
> >>>>
> >>>>
> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
> >>>> >
> >>>>
> >>>>
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
> >>>> >
> >>>>
> >>>>
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
> >>>> >
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
> >>>> > org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
> >>>> > org.ofbiz.base.start.Start.init(Start.java:89)
> >>>> > org.ofbiz.base.start.Start.main(Start.java:398)
> >>>> >
> >>>>
> >>>>
> --------------------------------------------------------------------------------
> >>>> >
> >>>> > 2009-12-16 10:21:04,684 (main) [     Http11Protocol.java:161:ERROR]
> >>>> Error
> >>>> > initializin
> >>>> >
> >>>> >
> >>>> > Please find the full logs in the attachment.
> >>>> >
> >>>> >
> >>>> > With regards,
> >>>> > S K Pradeep kumar,
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>
> >>
> >
>