Hi Javier,
first thanks for testing the JBT Web Optimizer.

you have mentioned two problems, one on windows and one on linux.

your windows problems seems is network related.
JBTWO tries to open TCP port 80 and then listens for incoming request.
when your firewall is blocking port 80 this could be a problem.
another cause for this problem can be that another application is
already using port 80. you can check this with the netstat command in
the windows command shell:
netstat -an shows you all opened ports.

your linux related problem is a Java problem. JBT and JBTWO must have
Java version 1.6
On your linux box the default Java system has the version 1.5.0_11
if you upgrade to Java version 1.6 this error should disappear.


On Sep 1, 1:31 pm, Javier <[email protected]> wrote:
> > How to use the JBT Web Optimizer (JBTWO):
> > -----------------------------------------------------------------
>
> > Start it on the command line as you start JBT. My recommended setup:
> > “java –server –Xmx12288M JBTWebOptimizer.jar <directory where you
> > start JBTWO>”
>
> I've tried to run JBTWebOptimizer under windows and linux but I'm
> having problems when running, see below:
>
> Under windows:
>
> >java -version
>
> java version "1.6.0_19"
> Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
>
> >java -server -jar JBTWebOptimizer.jar .
>
> 2010-09-01 13:18:02.833:INFO::Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2010-09-01 13:18:02.889:INFO::jetty-6.1.x
> 01-sep-2010 13:18:02 org.wings.session.WingServlet init
> INFO: Initializing wingS global servlet with configuration:
> 01-sep-2010 13:18:02 org.wings.session.WingServlet init
> INFO:     wings.mainclass =
> com.jbooktrader.weboptimizer.wings.MainScreen
> 01-sep-2010 13:18:02 org.wings.session.WingServlet initLookupName
> INFO: use session servlet lookup name
> SessionServlet:com.jbooktrader.weboptimizer.wings.MainScreen
> 2010-09-01 13:18:02.958:WARN::failed [email protected]:80:
> java.net.Socket Exception: Unrecognized Windows Sockets error: 0:
> JVM_Bind
> 2010-09-01 13:18:02.959:WARN::failed ser...@2acdb06e:
> java.net.SocketException:
> Unrecognized Windows Sockets error: 0: JVM_Bind
> java.net.SocketException: Unrecognized Windows Sockets error: 0:
> JVM_Bind
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(Unknown Source)
>         at java.net.ServerSocket.bind(Unknown Source)
>         at java.net.ServerSocket.<init>(Unknown Source)
>         at java.net.ServerSocket.<init>(Unknown Source)
>         at
> org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:
> 80)
>         at
> org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at
> org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:
> 283)
>         at
> org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:
> 147)
>         at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> 50)
>         at org.mortbay.jetty.Server.doStart(Server.java:235)
>         at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> 50)
>         at
> com.jbooktrader.weboptimizer.wings.JBTWebOptimizerStarter.<init>(JBTWebOptimizerStarter.java:
> 64)
>         at
> com.jbooktrader.weboptimizer.wings.JBTWebOptimizerStarter.main(JBTWebOptimizerStarter.java:
> 84)
>
> Under Linux:
>
>  # java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
>
> # java -server -jar JBTWebOptimizer.jar
> Exception in thread "Main Thread"
> java.lang.UnsupportedClassVersionError: unsupported classversion 50.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
> 124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:
> 260)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
> 268)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.

Reply via email to