Re: [Resin-interest] OpenSSL 0.9.8d won't work with Resin 3.0.21 Pro?

2006-12-01 Thread Rob Lockstone
On Dec 1, 2006, at 9:32 AM, Scott Ferguson wrote:

> On Nov 30, 2006, at 2:47 PM, Rob Lockstone wrote:
>
>> Environment: Windows 2003 Server, Resin Pro 3.0.21, Java 1.4.2
>>
>> Wow, is Resin so sensitive to versions of OpenSSL that it will ONLY
>> work with the specific letter version, e.g. 'b' but not 'd' of the
>> 0.9.8 code base?
>>
>> Are there any alternatives to OpenSSL? This is kind of pathetic, no?
>> I'm scared to even try 3.0.22. Which letter does it need? 'c'?
>
> One issue is that the OpenSSL windows build has changed the *.dll
> file names that it uses.  That happened relatively recently, so that
> may be what you're running into.

They did? Hmmm, looking at the CHANGES file for the 'd' source, it  
doesn't mention anything about the dll filenames having changed. Do  
you know what the new names are? As far as I could tell, they were  
the same. But maybe I grabbed the wrong ones due to the name change.

Would it be possible for Caucho to distribute the proper versions of  
the openssl dll's with each release, at least for Windows? This would  
be a lot easier than trying to match up openssl releases with resin  
releases. :-(

> I do need to check to make sure there isn't anything odd about how
> Resin's linking to OpenSSL on windows that might be causing extra
> problems.  As long as they don't change the exported functions, the
> new OpenSSL *.dll should work.  But I think you may have run into a
> reorg issue on OpenSSL's part.

Do you want me to open a resin bug?

> (And, yes, this issue doesn't exist at all on Unix, although there
> are some other openssl issues.)

This doesn't surprise me in the least. 

Rob

>
> -- Scott
>
>>
>> Rob
>>
>>
>> [14:37:42.440] java.lang.UnsatisfiedLinkError: D:\resin\win32
>> \resinssl.dll: This application has failed to start because the
>> application configuration is incorrect. Reinstalling the application
>> may fix this problem
>> [14:37:42.440]   at java.lang.ClassLoader$NativeLibrary.load(Native
>> Method)
>> [14:37:42.440]   at java.lang.ClassLoader.loadLibrary0
>> (ClassLoader.java:1586)
>> [14:37:42.440]   at java.lang.ClassLoader.loadLibrary 
>> (ClassLoader.java:
>> 1511)
>> [14:37:42.440]   at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>> [14:37:42.440]   at java.lang.System.loadLibrary(System.java:834)
>> [14:37:42.440]   at com.caucho.vfs.OpenSSLFactory.
>> (OpenSSLFactory.java)
>> [14:37:42.440]   at java.lang.Class.forName0(Native Method)
>> [14:37:42.440]   at java.lang.Class.forName(Class.java:141)
>> [14:37:42.440]   at com.caucho.server.port.Port.createOpenssl
>> (Port.java:321)
>> [14:37:42.440]   at sun.reflect.NativeMethodAccessorImpl.invoke0
>> (Native Method)
>> [14:37:42.440]   at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> [14:37:42.440]   at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> [14:37:42.440]   at java.lang.reflect.Method.invoke(Method.java:324)
>> [14:37:42.440]   at  
>> com.caucho.config.CreateAttributeStrategy.configure
>> (CreateAttributeStrategy.java:81)
>> [14:37:42.440]   at
>> com.caucho.config.NodeBuilder.configureAttributeImpl 
>> (NodeBuilder.java:
>> 381)
>> [14:37:42.440]   at com.caucho.config.NodeBuilder.configureBeanImpl
>> (NodeBuilder.java:341)
>> [14:37:42.440]   at com.caucho.config.TypeStrategy.configureBean
>> (TypeStrategy.java:103)
>> [14:37:42.440]   at com.caucho.config.BeanTypeStrategy.configureBean
>> (BeanTypeStrategy.java:228)
>> [14:37:42.440]   at com.caucho.config.NodeBuilder.configureImpl
>> (NodeBuilder.java:257)
>> [14:37:42.440]   at com.caucho.config.NodeBuilder.configureChildImpl
>> (NodeBuilder.java:303)
>> [14:37:42.440]   at com.caucho.config.BeanTypeStrategy.configure
>> (BeanTypeStrategy.java:197)
>> [14:37:42.440]   at  
>> com.caucho.config.SetterAttributeStrategy.configure
>> (SetterAttributeStrategy.java:91)
>> [14:37:42.440]   at
>> com.caucho.config.NodeBuilder.configureAttributeImpl 
>> (NodeBuilder.java:
>> 381)
>> [14:37:42.440]   at com.caucho.config.TypeStrategy.configureAttribute
>> (TypeStrategy.java:112)
>> [14:37:42.440]   at
>> com.caucho.config.EnvironmentTypeStrategy.configureAttribute
>> (EnvironmentTypeStrategy.java:89)
>> [14:37:42.440]   at com.caucho.config.NodeBuilder.configureAttribute
>> (NodeBuilder.java:230)
>> [14:37:42.440]   at
>> com.caucho.config.NodeBuilderChildProgram.configureImpl
>> (NodeBuilderChildProgram.java:54)
>> [14:37:42.440]   at
>> com.caucho.config.BuilderProgramContainer.configureImpl
>> (BuilderProgramContainer.java:62)
>> [14:37:42.440]   at com.caucho.config.BuilderProgram.configure
>> (BuilderProgram.java:60)
>> [14:37:42.440]   at
>> com.caucho.server.deploy.EnvironmentDeployController.configureInstanc 
>> e
>> (EnvironmentDeployController.java:377)
>> [14:37:42.440]   at
>> com.caucho.server.resin.ServerCon

Re: [Resin-interest] OpenSSL 0.9.8d won't work with Resin 3.0.21 Pro?

2006-12-01 Thread Scott Ferguson

On Nov 30, 2006, at 2:47 PM, Rob Lockstone wrote:

> Environment: Windows 2003 Server, Resin Pro 3.0.21, Java 1.4.2
>
> Wow, is Resin so sensitive to versions of OpenSSL that it will ONLY
> work with the specific letter version, e.g. 'b' but not 'd' of the
> 0.9.8 code base?
>
> Are there any alternatives to OpenSSL? This is kind of pathetic, no?
> I'm scared to even try 3.0.22. Which letter does it need? 'c'?

One issue is that the OpenSSL windows build has changed the *.dll  
file names that it uses.  That happened relatively recently, so that  
may be what you're running into.

I do need to check to make sure there isn't anything odd about how  
Resin's linking to OpenSSL on windows that might be causing extra  
problems.  As long as they don't change the exported functions, the  
new OpenSSL *.dll should work.  But I think you may have run into a  
reorg issue on OpenSSL's part.

(And, yes, this issue doesn't exist at all on Unix, although there  
are some other openssl issues.)

-- Scott

>
> Rob
>
>
> [14:37:42.440] java.lang.UnsatisfiedLinkError: D:\resin\win32
> \resinssl.dll: This application has failed to start because the
> application configuration is incorrect. Reinstalling the application
> may fix this problem
> [14:37:42.440]at java.lang.ClassLoader$NativeLibrary.load(Native
> Method)
> [14:37:42.440]at java.lang.ClassLoader.loadLibrary0
> (ClassLoader.java:1586)
> [14:37:42.440]at java.lang.ClassLoader.loadLibrary(ClassLoader.java:
> 1511)
> [14:37:42.440]at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> [14:37:42.440]at java.lang.System.loadLibrary(System.java:834)
> [14:37:42.440]at com.caucho.vfs.OpenSSLFactory.
> (OpenSSLFactory.java)
> [14:37:42.440]at java.lang.Class.forName0(Native Method)
> [14:37:42.440]at java.lang.Class.forName(Class.java:141)
> [14:37:42.440]at com.caucho.server.port.Port.createOpenssl
> (Port.java:321)
> [14:37:42.440]at sun.reflect.NativeMethodAccessorImpl.invoke0
> (Native Method)
> [14:37:42.440]at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> [14:37:42.440]at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> [14:37:42.440]at java.lang.reflect.Method.invoke(Method.java:324)
> [14:37:42.440]at com.caucho.config.CreateAttributeStrategy.configure
> (CreateAttributeStrategy.java:81)
> [14:37:42.440]at
> com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:
> 381)
> [14:37:42.440]at com.caucho.config.NodeBuilder.configureBeanImpl
> (NodeBuilder.java:341)
> [14:37:42.440]at com.caucho.config.TypeStrategy.configureBean
> (TypeStrategy.java:103)
> [14:37:42.440]at com.caucho.config.BeanTypeStrategy.configureBean
> (BeanTypeStrategy.java:228)
> [14:37:42.440]at com.caucho.config.NodeBuilder.configureImpl
> (NodeBuilder.java:257)
> [14:37:42.440]at com.caucho.config.NodeBuilder.configureChildImpl
> (NodeBuilder.java:303)
> [14:37:42.440]at com.caucho.config.BeanTypeStrategy.configure
> (BeanTypeStrategy.java:197)
> [14:37:42.440]at com.caucho.config.SetterAttributeStrategy.configure
> (SetterAttributeStrategy.java:91)
> [14:37:42.440]at
> com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:
> 381)
> [14:37:42.440]at com.caucho.config.TypeStrategy.configureAttribute
> (TypeStrategy.java:112)
> [14:37:42.440]at
> com.caucho.config.EnvironmentTypeStrategy.configureAttribute
> (EnvironmentTypeStrategy.java:89)
> [14:37:42.440]at com.caucho.config.NodeBuilder.configureAttribute
> (NodeBuilder.java:230)
> [14:37:42.440]at
> com.caucho.config.NodeBuilderChildProgram.configureImpl
> (NodeBuilderChildProgram.java:54)
> [14:37:42.440]at
> com.caucho.config.BuilderProgramContainer.configureImpl
> (BuilderProgramContainer.java:62)
> [14:37:42.440]at com.caucho.config.BuilderProgram.configure
> (BuilderProgram.java:60)
> [14:37:42.440]at
> com.caucho.server.deploy.EnvironmentDeployController.configureInstance
> (EnvironmentDeployController.java:377)
> [14:37:42.440]at
> com.caucho.server.resin.ServerController.configureInstance
> (ServerController.java:198)
> [14:37:42.440]at
> com.caucho.server.resin.ServerController.configureInstance
> (ServerController.java:52)
> [14:37:42.440]at com.caucho.server.deploy.DeployController.startImpl
> (DeployController.java:619)
> [14:37:42.440]at
> com.caucho.server.deploy.AbstractDeployControllerStrategy.start
> (AbstractDeployControllerStrategy.java:56)
> [14:37:42.440]at com.caucho.server.deploy.DeployController.start
> (DeployController.java:517)
> [14:37:42.440]at com.caucho.server.resin.ResinServer.start
> (ResinServer.java:546)
> [14:37:42.440]at com.caucho.server.resin.Resin.init(Resin.java)
> [14:37:42.440]at com.caucho.s