java version "1.4.2-01"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-01)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-01, mixed mode)
RedPos version: Rel_1_5_2_2 according to the installer but 1_6_! according to what I downloaded from sourceforge.
Problem:
The installer runs perfectly. Everything installs as it should. Running though does not bring up the login.
The log file is huge so I won't paste it all here but just the ERROR and FAILED messages:
2005-03-09 10:22:51,996 ERROR [STDERR] java.lang.UnsatisfiedLinkError: /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so: /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so: cannot open shared object file: No such file or directory
//NOTE, this file is present... -rwxrwxr-x 1 root staff 331480 2004-12-01 09:33 /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
2005-03-09 10:22:51,997 ERROR [STDERR] at java.lang.Runtime.loadLibrary0(Runtime.java:788)
2005-03-09 10:22:51,997 ERROR [STDERR] at java.lang.System.loadLibrary(System.java:834)
2005-03-09 10:22:51,997 ERROR [STDERR] at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.redpos.auth.contract.StandardLoginDialog.open(StandardLoginDialog.java:199)
2005-03-09 10:22:52,007 ERROR [STDERR] at org.redpos.client.ui.UIMain$LoginThread.run(UIMain.java:275)
2005-03-09 10:22:55,321 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: RedPOS.client.device:service=ReceiptPrinter
state: FAILED
I Depend On: RedPOS.client:service=ReceiptSession
RedPOS.client:service=Properties
Depends On Me: RedPOS.client.ui.plugin.function:service=PrintReceiptAgain
java.lang.UnsatisfiedLinkError: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so: cannot open shared object file: No such file or directory, ObjectName: RedPOS.client.device:service=CashDrawer
state: FAILED
I Depend On: RedPOS.client:service=ReceiptSession
RedPOS.client:service=Properties
//NOTE: this file: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so:
is also present.
Any ideas?
Thanks in advance,
Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, I've uninstalled the old version and installed the new one but have the exaclty the same ERROR and FAILED messages in the log.
Incidentally, the splash screen on the installer now refers to version 1_6; however, the file size for the installer is identical to the 1_5 version... is that right?
Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed as root because in the 1.5 release it wasn't installing into /usr/local. In any case, I uninstalled and have installed again now as a regular user and have exactly the same errors.
One other thing, if I don't add /usr/lib/j2se/1.4 as the path in run.conf for JAVA_HOME I get a warning about it not being able to find tools.jar. Adding the path gets rid of the warning.
With or without the path, the errors in the log are identical.
Thanks for you help... I'm wondering if, perhaps, the issue isn't with the deb package built by blackdown for the 64 bit platform?
Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The message about tools.jar is more of a warning from JBoss, meaning that if tools.jar is not available JBoss will not be able to serve any JSP-pages. Not needed in RedPOS though :)
Your problem has defintly to do with the blackdown 64 bit platform. SWT for this platform is not included.
It's running in Swedish rather than English but it's running!
Start up seems to be very fast. Login was lightening... if I use RedPOS for this project, it won't be running on AMD64 gear but it will be running on Debian. I'll keep you posted on progress.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
distro: debian
kernel: 2.6.10-4-amd64-generic
java version "1.4.2-01"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-01)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-01, mixed mode)
RedPos version: Rel_1_5_2_2 according to the installer but 1_6_! according to what I downloaded from sourceforge.
Problem:
The installer runs perfectly. Everything installs as it should. Running though does not bring up the login.
The log file is huge so I won't paste it all here but just the ERROR and FAILED messages:
2005-03-09 10:22:51,996 ERROR [STDERR] java.lang.UnsatisfiedLinkError: /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so: /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so: cannot open shared object file: No such file or directory
//NOTE, this file is present... -rwxrwxr-x 1 root staff 331480 2004-12-01 09:33 /usr/local/RedPOS/swt/linux-gtk/libswt-pi-gtk-3063.so
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
2005-03-09 10:22:51,996 ERROR [STDERR] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
2005-03-09 10:22:51,997 ERROR [STDERR] at java.lang.Runtime.loadLibrary0(Runtime.java:788)
2005-03-09 10:22:51,997 ERROR [STDERR] at java.lang.System.loadLibrary(System.java:834)
2005-03-09 10:22:51,997 ERROR [STDERR] at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
2005-03-09 10:22:52,006 ERROR [STDERR] at org.redpos.auth.contract.StandardLoginDialog.open(StandardLoginDialog.java:199)
2005-03-09 10:22:52,007 ERROR [STDERR] at org.redpos.client.ui.UIMain$LoginThread.run(UIMain.java:275)
2005-03-09 10:22:55,321 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: RedPOS.client.device:service=ReceiptPrinter
state: FAILED
I Depend On: RedPOS.client:service=ReceiptSession
RedPOS.client:service=Properties
Depends On Me: RedPOS.client.ui.plugin.function:service=PrintReceiptAgain
java.lang.UnsatisfiedLinkError: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so: cannot open shared object file: No such file or directory, ObjectName: RedPOS.client.device:service=CashDrawer
state: FAILED
I Depend On: RedPOS.client:service=ReceiptSession
RedPOS.client:service=Properties
//NOTE: this file: /home/kubla/.starjavapos/libStarCommPortLinuxSerial_20031211.so:
is also present.
Any ideas?
Thanks in advance,
Ian
Sorry!
Bad release. Try again now since i've updated the file release :)
/L
Thanks, I've uninstalled the old version and installed the new one but have the exaclty the same ERROR and FAILED messages in the log.
Incidentally, the splash screen on the installer now refers to version 1_6; however, the file size for the installer is identical to the 1_5 version... is that right?
Ian
Ok, so there was no actual problem with the first release, more than the version number - I thought i've done some mistake :)
But you have a problem - I see that you have installed as root. Have you tried to install as a regular user?
/L
Yes I have and I get the same errors.
I installed as root because in the 1.5 release it wasn't installing into /usr/local. In any case, I uninstalled and have installed again now as a regular user and have exactly the same errors.
One other thing, if I don't add /usr/lib/j2se/1.4 as the path in run.conf for JAVA_HOME I get a warning about it not being able to find tools.jar. Adding the path gets rid of the warning.
With or without the path, the errors in the log are identical.
Thanks for you help... I'm wondering if, perhaps, the issue isn't with the deb package built by blackdown for the 64 bit platform?
Ian
The message about tools.jar is more of a warning from JBoss, meaning that if tools.jar is not available JBoss will not be able to serve any JSP-pages. Not needed in RedPOS though :)
Your problem has defintly to do with the blackdown 64 bit platform. SWT for this platform is not included.
Download http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.0.1-200409161125/swt-3.0.1-linux-gtk-amd64.zip
Extract it in a new dir: REDPOS_HOME/swt/linux-gtk-amd64
Update REDPOS_HOME/bin/run.sh
Look for all references to swt and change to corresponding new dirs and files
Please confirm if it works or not. And please tell us something about RedPOS performance on AMD64 (or Java overall).
/L
Excellent! Thank you! It runs...
It's running in Swedish rather than English but it's running!
Start up seems to be very fast. Login was lightening... if I use RedPOS for this project, it won't be running on AMD64 gear but it will be running on Debian. I'll keep you posted on progress.
Thanks!
Good :)
I will make sure that this is include within next release!
/L