aharpour / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

Using Bluecove API's in Tomcat Java Servlet produces an internal server error (Ubuntu 9.10) #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Tomcat6 create a simple Java Servlet that inquires local bluetooth 
devices
2. Call servlet through Tomcat
3. Recieve HTTP 500 error

What is the expected output? What do you see instead?

Expected: Running the servlet I would expect to see a list of local Bluetooth 
devices attached to 
the machine the servlet is running from similar to this:
BlueCove version 2.1.0 on bluez
Local device name Belkin Bluetooth Module
Local device Address 000A3A5BADEA
Local device discovery 0
The deivce is powered on
BlueCove stack shutdown completed
*This has been extracted from the same application being run from command line

Actual Results: Tomcat error page response in a HTTP 500 error, see stack trace 
for error 
informartion

What BlueCove version are you using (include build number for SNAPSHOT)? On 
what operating 
system and jvm? Is this 64-bit or 32-bit OS and jvm?

Bluecove Versions: bluecove-2.1.0 + bluecove-gpl-2.1.0

Operating System: Linux version 2.6.31-20-generic (buildd@palmer) (gcc version 
4.4.1 (Ubuntu 
4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 - 32-bit

Tomcat Version: Apace Tomcat/6.0.20

JVM Version: 1.6.0_15-b03

Please provide any additional information below.
Please use "Attach a file" when uploading stack traces or other big files!

I have included the Java source code I am trying to run in Tomcat if you wish 
to use this for 
debugging.

Original issue reported on code.google.com by RetroEls...@gmail.com on 11 Apr 2010 at 6:23

Attachments:

GoogleCodeExporter commented 9 years ago
Just wanted to add that the CLASSPATH was set to the correct location as I was 
able to use Bluecove successfully 
in a command line instance of the application.

Original comment by RetroEls...@gmail.com on 11 Apr 2010 at 6:26