Hi Kanthaa,
I'm afraid this is not one of the better features of JXplorer,
as it does not use directories as well as some native unix
applications. However, you may be able to work around the problem by
modifying the batch file used to start JXplorer (jxplorer.sh) and
setting a property "jxplorer.config" to point to a network location
where the jxconfig.txt configuration file is. Within that
configuration file, you should then be able to define the network
locations for all the various JX resources. (use the "dir.xxx"
properties - it's all fairly obvious :-) ).
Um, I'm afraid I haven't done this myself - let us know how it goes!
- Chris
On 13/12/2007, at 11:00 PM, Kanthaa wrote:
Hi
It is very nice to see such a community of developers working
together. Especially special thanks to Chris!.
I try to invoke the jxplorer over network using JNLP by sharing the
jxplorer directory via apache http server. But the problem seems it
looks for the icons,images files in the local pc. So the images in
the button bar is not displayed in the jxplorer application.
Any solutions to this?
here is the jnlp I have:-
<jnlp
spec="1.0+"
codebase = "
http://webserver/jxplorer" >
<information>
<title>JXplorer LDAP Browser Application</title>
<vendor>CA </vendor>
<homepage href="htmldocs/start.html"/>
<description>JXplorer LDAP Browser Application</description>
<description kind="short">A Java LDAP Browser Application</
description>
<icon href="htmldocs/ODBanner.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="jars/jxplorer.jar"/>
<jar href="jars/ldapsec.jar"/>
<jar href="jars/log4j.jar"/>
<jar href="jars/junit.jar"/>
<jar href="jars/jhall.jar"/>
<jar href="jars/help.jar"/>
</resources>
<application-desc main-class="com.ca.directory.jxplorer.JXplorer"/>
</jnlp>
and here is the trace messgaes from java console in the pc:-
main start
TIME: Tue Dec 11 18:03:13 EET 2007 (771)
Tue Dec 11 18:03:13 EET 2007: running JXplorer version JXplorer
(build JXv3.1rc5 2005-02-01 17:00 EST)
Tue Dec 11 18:03:13 EET 2007: running java from: C:\Program Files
\Java\jre1.6.0
Tue Dec 11 18:03:13 EET 2007: running java version 1.6.0 localDir =
C:\Documents and Settings\kantharu\Desktop\
Tue Dec 11 18:03:14 EET 2007: set configuration file to C:
\Documents and Settings\kantharu\Desktop\dxconfig.txt
Tue Dec 11 18:03:14 EET 2007: unable to load resource bundle
'language.JX'
Tue Dec 11 18:03:14 EET 2007: no search filter config file found
at: C:\Documents and Settings\kantharu\Desktop\search_filters.txt
Tue Dec 11 18:03:14 EET 2007: can't find html template directory C:
\Documents and Settings\kantharu\Desktop\templates - trying to
find /templates directory
Tue Dec 11 18:03:14 EET 2007: Error initialising HTML Template:
java.io.FileNotFoundException: ERROR - Cannot find backup /template
directory in C:\Documents and Settings\kantharu\Desktop\templates
can't find: C:\Documents and Settings\kantharu\Desktop\htmldocs
\start_en.html
can't find: C:\Documents and Settings\kantharu\Desktop\htmldocs
\start.html
Tue Dec 11 18:03:14 EET 2007: can't find icon directory C:
\Documents and Settings\kantharu\Desktop\icons\ trying to find /
icons directory
Tue Dec 11 18:03:14 EET 2007: Can't find icon directory; check
'dir.icons=' line in dxconfig.txt.
main end
TIME: Tue Dec 11 18:03:15 EET 2007 (313)
Br, Kanthaa
----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/
marketplace_______________________________________________
Jxplorer-devel mailing list
Jxplorer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-devel
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jxplorer-devel mailing list
Jxplorer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-devel