On 21 March 2011 09:52, Goyo wrote:
> Hi.
> I need to use a symbolic link to access a certain path in my server, where
> I'm using Jakarta Tomcat 4.1.18.
Jakarta Tomcat is now an independent project, see
http://tomcat.apache.org/
where you will find documentation and details of how to subscribe to
their user mailing list.
> We stablished a symbolic link to another path. At first, tomcat didn't see
> this path through the symlink, but we searched for it and found the
> allowLinking=true feature.
> Now, it sees the path. However, and here comes the problem, it doesn't allow
> to move files to this path.
> We've tried to move files manually with the same user of tomcat and it works
> well, but it doesn't via the web application. Besides, this feature worked
> perfect before making this folder reachable through a symlink.
>
> And we don't know what we have done wrong. Any help?
>
> This is our config.xml:
>
> reloadable="true" crossContext="true">
> className="org.apache.naming.resources.FileDirContext"
> allowLinking="true" />
>
>
> debug="0"
> reloadable="true" crossContext="true"/>
>
> reloadable="true" crossContext="true">
> className="org.apache.naming.resources.FileDirContext"
> allowLinking="true" />
> type="javax.sql.DataSource"/>
>
>
> factory
>
> org.apache.commons.dbcp.BasicDataSourceFactory
>
>
> removeAbandonedTimeout
> 30
>
>
> removeAbandoned
> true
>
>
> maxActive
> 20
>
>
> maxIdle
> -1
>
>
> maxWait
> 1
>
>
> driverClassName
> org.postgresql.Driver
>
>
> url
> jdbc:postgresql://
> 127.0.0.1:5432/my_app
>
>
> username
> user
>
>
> password
> pass
>
>
>
>
>
>
>
> debug="5" reloadable="true" crossContext="true">
> className="org.apache.naming.resources.FileDirContext"
> allowLinking="true" />
> type="javax.sql.DataSource"/>
>
>
> factory
>
> org.apache.commons.dbcp.BasicDataSourceFactory
>
>
> removeAbandonedTimeout
> 30
>
>
> removeAbandoned
> true
>
>
> maxActive
> 20
>
>
> maxIdle
> -1
>
>
> maxWait
> 1
>
>
> driverClassName
> org.postgresql.Driver
>
>
> url
> jdbc:postgresql://
> 127.0.0.1:5432/my_app_2
>
>
> username
> user
>
>
> password
> pass
>
>
>
>
>
>
-
To unsubscribe, e-mail: general-unsubscr...@jakarta.apache.org
For additional commands, e-mail: general-h...@jakarta.apache.org