jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaco Prinsloo <jacoli...@gmail.com>
Subject Re: Glassfish and Jackrabbit on Windows throws FileNotFoundException for LICENSE
Date Wed, 04 Mar 2009 16:15:55 GMT
Hi Thomas,

Thanks for your help and trouble.
I'll keep bashing at it and report back if I find a working solution.

Thank you,
Jaco

On 3/2/09, Thomas Müller <thomas.mueller@day.com> wrote:
> Hi,
>
> I don't know what the reason could be, but I found a link to a similar
> problem:
>
> http://www.mulesource.org/jira/browse/MULE-4021
> http://forums-beta.sun.com/thread.jspa?threadID=520794&messageID=2489891
>
> Maybe it's a Glassfish v2 problem. I think it's a conflict in a file
> name / directory name that only shows up in a case insensitive file
> system. I believe you already read this:
> http://article.gmane.org/gmane.comp.apache.jackrabbit.user/5673
> "Extract the nekohtml-0.9.4.jar from the .rar archive.  Rename the
> LICENSE file within the jar (e.g. rename to CyberNeko_LICENSE), and
> replace the nekohtml jar in the rar with the updated version."
>
> Regards,
> Thomas
>
>
> On Sat, Feb 28, 2009 at 7:42 PM, Jaco Prinsloo <jacolists@gmail.com> wrote:
>> Hi Thomas,
>>
>> I will do, not that it contains a lot of useful information:
>>
>> [#|2009-02-28T20:40:33.359+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=Thread-306;_RequestID=323c8369-a0c8-4ae9-9a28-ff7a17fd8945;|Exception
>> occured in J2EEC Phase
>> com.sun.enterprise.deployment.backend.IASDeploymentException:
>> java.io.IOException: filename:
>> C:\Sun\Glassfish\domains\domain1\applications\j2ee-modules\jackrabbit\license\LICENSE
>> java.io.FileNotFoundException:
>> C:\Sun\Glassfish\domains\domain1\applications\j2ee-modules\jackrabbit\license\LICENSE
>> (The system cannot find the path specified) -- filename:
>> C:\Sun\Glassfish\domains\domain1\applications\j2ee-modules\jackrabbit\license\LICENSE
>> java.io.FileNotFoundException:
>> C:\Sun\Glassfish\domains\domain1\applications\j2ee-modules\jackrabbit\license\LICENSE
>> (The system cannot find the path specified)
>>    at
>> com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeModule(J2EEModuleExploder.java:224)
>>    at
>> com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:154)
>>    at
>> com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:112)
>>    at
>> com.sun.enterprise.deployment.backend.ConnectorModuleDeployer.preDeploy(ConnectorModuleDeployer.java:108)
>>    at
>> com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:174)
>>    at
>> com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
>>    at
>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>>    at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
>>    at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:283)
>>    at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:835)
>>    at
>> com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
>>    at
>> com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
>> |#]
>>
>> I added the %Glassfish% part just to indicate to you that it correctly
>> points to my Glassfish folder.
>> I apologize for any confusion this might have caused.
>> I noticed the uppercase part and suspects it is a similar problem to what
>> is
>> posted here
>>
>> http://www.nabble.com/Jackrabbit-RAR-Deployment-in-Glassfish-%28and-on-Mac-OS-X%29-t4334860.html
>>
>> As for there not being a .txt at the end - I have no idea. The file in
>> nekohtml.jar certainly has one.
>>
>> Thank you,
>> Jaco
>>
>> On Thu, Feb 26, 2009 at 9:23 AM, Thomas Müller
>> <thomas.mueller@day.com>wrote:
>>
>>> Hi,
>>>
>>> Could you post the complete stack trace please?
>>>
>>> > java.io.FileNotFoundException:
>>> >
>>> %Glassfish%\domains\domain1\applications\j2ee-modules\jackrabbit\license\LICENSE
>>> > (The system cannot find the path specified)
>>>
>>> Please note:
>>> - The %Glassfish% prefix
>>> - LICENSE is uppercase
>>> - There is no .txt
>>>
>>> > I've tested the adapter and it works correctly on Linux.
>>> > I remember I had to rename the license file in nekohtml.jar for the
>>> > JackRabbit 1.4.x resource adapter to work in Windows, but I had a look
>>> > at
>>> > the 1.5.2 nekohtml.jar and the file is already named license.txt.
>>>
>>> Regards,
>>> Thomas
>>>
>>
>

Mime
View raw message