How install on a remote server?
I've contacted the provider. The problem is that I don't have permission to see java folder from my webspace root and there are two solution:
1) install in my webspace java.
2) have a special account to connect not to my webspace, but in a folder of the server.
And i ask to you, Lapo, there is a third solution that the provider don't know, to give me the access to the java without using previous two solution?
Thank for your patience!
1) install in my webspace java.
2) have a special account to connect not to my webspace, but in a folder of the server.
And i ask to you, Lapo, there is a third solution that the provider don't know, to give me the access to the java without using previous two solution?
Thank for your patience!
I'm still awaiting that the amministrator make the symbolic link in my web space...
I've some doubt that he no have idea how to do...
Seem that is a thing to do in few minutes, but the days go on...
Lapo, you can tell me how to do a symbolic link?
So, if the amministrator don't know how to do, I send him the clue...
Thanks!
I've some doubt that he no have idea how to do...
Seem that is a thing to do in few minutes, but the days go on...
Lapo, you can tell me how to do a symbolic link?
So, if the amministrator don't know how to do, I send him the clue...
Thanks!
Acf wrote:I'm still awaiting that the amministrator make the symbolic link in my web space...
I've some doubt that he no have idea how to do...
Seem that is a thing to do in few minutes, but the days go on...
Lapo, you can tell me how to do a symbolic link?
So, if the amministrator don't know how to do, I send him the clue...
Thanks!
Mmm... I guess maybe he's a bit lazy... I still have to see an admin who can't do a symbolic link... it would be like a racing pilot who don't know how to shift gears
A symbolic links is done like this:
Code: Select all
ln -s target linkName
where target is the path to the file to link and linkName is the name of the shortcut
If you have access to a unix/linux shell type this, for more info:
Code: Select all
man ln
Hi Lapo,
the symbolic link is done!
Now there is a problem, i can see this in my webspace with shell (with putty sowtware)
drwxr-xr-x 2 557 557 4096 Jun 27 16:08 buddyLists
-rw-r--r-- 1 557 557 8187 Jun 27 17:26 config.xml
drwxr-xr-x 3 557 557 4096 Jun 27 16:08 it
lrwxrwxrwx 1 0 0 13 Jul 11 14:46 javalink -> /usr/bin/java
-rw-r--r-- 1 557 557 338 Jun 27 16:08 licence.sfl
-rw-r--r-- 1 557 557 2308 Jun 27 16:08 logging.properties
drwxr-xr-x 2 557 557 4096 Jun 27 16:08 logs
drwxr-xr-x 3 557 557 4096 Jun 27 16:08 net
-rwxr--r-- 1 557 557 138 Jul 11 15:13 start.sh
the symbolic link is named "javalink"
I have changes the start.sh file with "./javalink -cp" instead of "java -cp", but I've a error message:
"./start.sh: line 1: ./javalink: No such file or directory"
is the symbolic link wrong?
tell me what to do...
Edit:
I've noticed that a previous email from the amministrator for the java link at the beginning of the story show me a particular:
Now that i know how to recognize a symbolic link, i see that in the '/usr/bin/' there are symbolic link... maybe too many symbolic link of symbolic link? There is this the problem? boh!
the symbolic link is done!
Now there is a problem, i can see this in my webspace with shell (with putty sowtware)
drwxr-xr-x 2 557 557 4096 Jun 27 16:08 buddyLists
-rw-r--r-- 1 557 557 8187 Jun 27 17:26 config.xml
drwxr-xr-x 3 557 557 4096 Jun 27 16:08 it
lrwxrwxrwx 1 0 0 13 Jul 11 14:46 javalink -> /usr/bin/java
-rw-r--r-- 1 557 557 338 Jun 27 16:08 licence.sfl
-rw-r--r-- 1 557 557 2308 Jun 27 16:08 logging.properties
drwxr-xr-x 2 557 557 4096 Jun 27 16:08 logs
drwxr-xr-x 3 557 557 4096 Jun 27 16:08 net
-rwxr--r-- 1 557 557 138 Jul 11 15:13 start.sh
the symbolic link is named "javalink"
I have changes the start.sh file with "./javalink -cp" instead of "java -cp", but I've a error message:
"./start.sh: line 1: ./javalink: No such file or directory"
is the symbolic link wrong?
tell me what to do...
Edit:
I've noticed that a previous email from the amministrator for the java link at the beginning of the story show me a particular:
Code: Select all
"Hi, java is located in '/usr/bin/'
lrwxrwxrwx 1 root root 22 Oct 14 2004 java -> /etc/alternatives/java
lrwxrwxrwx 1 root root 23 Oct 14 2004 javac -> /etc/alternatives/javac
lrwxrwxrwx 1 root root 25 Oct 14 2004 javadoc -> /etc/alternatives/javadoc
lrwxrwxrwx 1 root root 23 Oct 14 2004 javah -> /etc/alternatives/javah
lrwxrwxrwx 1 root root 23 Oct 14 2004 javap -> /etc/alternatives/javap
-rwxr-xr-x 1 root root 65608 Oct 23 2003 jcf-dump
lrwxrwxrwx 1 root root 21 Oct 14 2004 jdb -> /etc/alternatives/jdb"
Now that i know how to recognize a symbolic link, i see that in the '/usr/bin/' there are symbolic link... maybe too many symbolic link of symbolic link? There is this the problem? boh!
yep. it seems that "javalink" is broken.
To be sure about that type:
in the shell, if you get the error, then there's your problem.
Never thought making a symbolic link was sooo diffcult!!
To be sure about that type:
Code: Select all
./javalink
in the shell, if you get the error, then there's your problem.
Never thought making a symbolic link was sooo diffcult!!
Code: Select all
./javalink
-bash: ./javalink: No such file or directory
It seem broken... but i ask you, maybe the problem is that javalink is the symbolic link of another symbolic link? Or there is no difference?
Hi Lapo!
Finally some lights!
but still problems... any idea?
Finally some lights!
but still problems... any idea?
Code: Select all
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
+------------------------------------------------------------+
+ SmartFoxServer - Multiuser Server +
+ version 1.1.1 +
+ +
+ (c) 2005 gotoAndPlay() - www.smartfoxserver.com +
+------------------------------------------------------------+
+----------------------[ System Info ]-----------------------+
System CPU(s): 1
VM Max memory: 66 MB
os.name: Linux
os.arch: i386
os.version: 2.4.22-1.2199.nptlsmp
java.version: 1.4.2_06
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.specification.version: 1.0
java.vm.version: 1.4.2_06-b03
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Client VM
java.lang.ExceptionInInitializerError
at javax.crypto.SecretKeyFactory.getInstance(DashoA6275)
at it.gotoandplay.smartfoxserver.lib.d.<init>(Unknown Source)
at it.gotoandplay.smartfoxserver.lib.e.c(Unknown Source)
at it.gotoandplay.smartfoxserver.lib.e.b(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.x(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(Unknown Source)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 6 more
Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
at javax.crypto.SunJCE_b.f(DashoA6275)
at javax.crypto.SunJCE_b.e(DashoA6275)
at javax.crypto.SunJCE_s.run(DashoA6275)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Shutting down server...
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 31 guests