jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea K." <akre...@alteanet.it>
Subject Re: Strange error on Windows Server
Date Mon, 10 Sep 2007 12:10:28 GMT

Very stupid error. If this could help someone... :

Temporary directory TMP defined in opmn.xml in OC4J setup disappeared (in an
obscure manner) from filesystem. I manually recreated it and now all is
working correctly.

Sorry for the off-topic thread.

Bye,
Andrea -


Andrea K. wrote:
> 
> Yes, it is. Probably my server lost some user rights like write on temp
> dir... very strange.
> The problem, I think, is related to OC4J rather than JR.
> 
> I search to solve it..
> 
> thanks in the meanwhile.
> 
> 
> Thomas Mueller-6 wrote:
>> 
>> Hi,
>> 
>> Sorry, forget what I wrote. The problem is with createTempFile, not
>> with the directory /meta
>> 
>> Thomas
>> 
>> On 9/10/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
>>> On 9/10/07, Andrea K. <akregar@alteanet.it> wrote:
>>> >
>>> > Today I woke up with this error on my Oracle 10g App Server with JCA
>>> deployed
>>> > Jackrabbit.
>>> > Doeas anyone know what can be? The server is in cluster with a twin
>>> server
>>> > that works correctly.
>>> >
>>> > Thanks in advance.
>>> >
>>> >
>>> > ERROR OracleFileSystem:383 - failed to open output stream to file:
>>> > /meta/rep.properties
>>> > java.io.IOException: The system cannot find the path specified
>>> >         at java.io.WinNTFileSystem.createFileExclusively(Native
>>> Method)
>>> >         at java.io.File.checkAndCreate(File.java:1345)
>>> >         at java.io.File.createTempFile(File.java:1434)
>>> >         at
>>>
>>> this issue seems to be non-jackrabbit related. the following call fails:
>>>
>>>    java.io.File.createTempFile("bin", null, null);
>>>
>>> maybe the system property "java.io.tmpdir" points to an inexistent
>>> directory?
>>> that would at least explain the exception message ("cannot find the
>>> path").
>>> check the javadoc of said method.
>>>
>>> or maybe it's related to your cluster setup?
>>>
>>> cheers
>>> stefan
>>>
>>> >
>>> org.apache.jackrabbit.util.TransientFileFactory.createTransientFile(TransientFileFactory.java:124)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.fs.db.OracleFileSystem.getOutputStream(OracleFileSystem.java:322)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.fs.BasedFileSystem.getOutputStream(BasedFileSystem.java:135)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.fs.FileSystemResource.getOutputStream(FileSystemResource.java:179)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.RepositoryImpl.storeRepProps(RepositoryImpl.java:1083)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.RepositoryImpl.loadRepProps(RepositoryImpl.java:1063)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:249)
>>> >         at
>>> >
>>> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:521)
>>> >         at
>>> >
>>> org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(JCARepositoryManager.java:167)
>>> >         at
>>> >
>>> org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:75)
>>> >         at
>>> >
>>> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:289)
>>> >         at
>>> >
>>> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:124)
>>> >         at
>>> >
>>> oracle.j2ee.connector.OracleConnectionManager.getBindObject(OracleConnectionManager.java:177)
>>> >         at
>>> >
>>> com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:863)
>>> >         at
>>> >
>>> com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:297)
>>> >         at
>>> >
>>> com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1140)
>>> >         at
>>> >
>>> com.evermind.server.connector.deployment.ConnectorArchive.startOutboundConnectionFactories(ConnectorArchive.java:869)
>>> >         at
>>> oracle.j2ee.connector.DeployedAdapter.start(DeployedAdapter.java:106)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1269)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:354)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
>>> >         at
>>> com.evermind.server.Application.setConfig(Application.java:413)
>>> >         at
>>> com.evermind.server.Application.setConfig(Application.java:314)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1565)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1547)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:974)
>>> >         at
>>> >
>>> com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
>>> >         at java.lang.Thread.run(Thread.java:595)
>>> > --
>>> > View this message in context:
>>> http://www.nabble.com/Strange-error-on-Windows-Server-tf4413335.html#a12589383
>>> > Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>> >
>>> >
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strange-error-on-Windows-Server-tf4413335.html#a12591423
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message