[cc-ing Henry because I think you recently made some changes that might have to do with locale or path separators? cc-ing Max and André, because I think they recently made a change that requires at least Tomcat 5.5.28?]
Sure looks like we must have recently made a change to use the locale and that is breaking your work-around. The right thing is for us to figure out the real problem that is causing >> "Error: >> Initialization error: no request type: media" on browser so that you can set your locale correctly. I suspect with the locale setting you are using, the class loader is somehow not able to find a file in your filesystem. On 2010-04-16, at 10:03, cem sonmez wrote: > hi > I have downloaded the latest two nightly builds of openlaszlo (r16156, > r16139 - openlaszlo-5.0.x-unix.tar.gz) > I just do the same steps for the other working versions of openlaszlo > (4.7.1, 4.7.0, 4.6.x ..) : > - LC_ALL=en_EN.UTF-8 (Doing this to avoid message : "Error: > Initialization error: no request type: media" on browser ) > - sh $LPS_HOME/Server/tomcat-5.0.24/bin/startup.sh > > Everything seems fine, getting this message on console : > Using CATALINA_BASE: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24 > Using CATALINA_HOME: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24 > Using CATALINA_TMPDIR: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24/temp > Using JAVA_HOME: /opt/sun-jdk > > But on the browser, any directory of lps is not being accessed. Just > see the http://localhost:8080/lps-5.0.x/ index page. None of links are > accessible. > Then when I try to stop tomcat like : > - sh $LPS_HOME/Server/tomcat-5.0.24/bin/shutdown.sh > > getting this message on console : > > Using CATALINA_BASE: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24 > Using CATALINA_HOME: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24 > Using CATALINA_TMPDIR: /home/cem/Masaüstü/lps-5.0.x/Server/tomcat-5.0.24/temp > Using JAVA_HOME: /opt/sun-jdk > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/catalina/startup/Bootstrap > Caused by: java.lang.ClassNotFoundException: > org.apache.catalina.startup.Bootstrap > 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: org.apache.catalina.startup.Bootstrap. > Program will exit. > > And I want to specify that this problem does not repeats anymore if I > use my default locale (LC_ALL=tr_Tr.UTF-8). > But in this case, as I said before, I am getting "Error: > Initialization error: no request type: media" on the browser if I > click the *.lzx file. > > Did any of you face such like problem before? > Thanks in advance > Kind regards > -- > Cem SONMEZ >
