Exception in thread "main" java.lang.NoClassDefFoundError: SelectApp
Caused by: java.lang.ClassNotFoundException: SelectApp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: SelectApp. Program will exit.
please show us the classpath you are using in that application
Exception in thread "main" java.lang.NoClassDefFoundError
mysql driver not found
May be the inFromServer.readLine() is waiting for response from the server to the socket.
But I get stuck. any suggestions please?String line=null;
FromServer=new String();
while((line = inFromServer.readLine())!=null){
FromServer+=intr;
intr=new String("");
}
So, probably a firewall.
What exactly do you mean by not starting up? Do you see any errors?
What response do you get if you telnet that port?
Most likely in linux ports are not opened by default, and you may have to do that
Make sure you don't have any other services running on these port, and any firewall is not blocking these ports
Check the localhost log. When catalina.out doesn't have enough information, that's generally where the missing messages are
SEVERE: No Store configured, persistence disabled