PDA

View Full Version : server error 500 after installtion


grmblzmpf
01-15-2003, 01:50 PM
Hi,

I installed LSP as Developer Edition on JDK 1.4.1_01 on Windows XP SP 1.

The installation went through without problems and I was able to start Tomcat/LPS. When I try to check my installation I was able to access the page:

http://localhost:8080/lps-b2/index.html

but not the page:

http://localhost:8080/lps-b2/examples/hello.lzx

When trying to access that, I get the following error:

The server encountered an internal error () that prevented it from fulfilling this request.

The stack trace looks like the following, it seems to request something around licensing. Did I miss something to do?

Kai



javax.servlet.ServletException: LPS not licensed. See http://www.laszlosystems.com.
Unparseable date: "January 31, 2003"
at com.laszlosystems.servlets.LZServlet.init(LZServle t.java:229)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:924)
at org.apache.catalina.core.StandardWrapper.allocate( StandardWrapper.java:658)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2396)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)

antun
01-15-2003, 02:03 PM
Hey grmblzmpf

This is most likely due to your locale. I'm guessing you're not in the US. You have two options right now:

1) Change your locale when using the LPS to the US locale.
2) Downgrade your installation of Java to 1.3x instead of Java 1.4.

I'm assuming that you are using Java 1.4, because that is where we've seen this problem before.


To downgrade Java:-

You do not have to delete the old version of Java. To switch between them, change the JAVA_HOME and PATH environment variables to point to the new version of Java.

1) Download the SDK: http://java.sun.com/j2se/1.3/download.html
2) Make sure that the LPS is not running
3) Uninstall the LPS (by deleting its folder from your hard drive entirely).
e.g. for a typical Windows installation of B2, you would delete:
c:\lps-developer-b2
4) You can leave the installation of Java on your HD, but you will need to
change the JAVA_HOME and PATH environment variables to reflect the NEW
settings.
5) Reinstall the LPS. Verify the version of Java that Tomcat recognizes upon
installation.

grmblzmpf
01-15-2003, 02:33 PM
Hi antun,

yes, I'm located in Germany.

I deleted LPS installation, after that I de-installed JDK 1.4.1_01 and installed JDK 1.3.1. Then I re-installed LPS, but at all, I still got exactly the same error.

Kai

antun
01-15-2003, 03:18 PM
In that case, the only thing I can suggest is that you change your locale to US:

Control Panel>Regional and Language Options

Then select United States as the location. You'll only need to do this when you want to start and stop the LPS.

It's annoying I know, but right now it's the only way. This issue is fixed in the upcoming 1.0 release.

Antun

grmblzmpf
01-15-2003, 03:41 PM
Antun,

with changing the locale, it works!
Thanks for now,

Kai

globzie
01-21-2003, 06:32 AM
same pb here under OS X (French)

would you know how to change the locale to US ?

Do you have to restart Tomcat eachtime ?

antun
01-21-2003, 01:32 PM
Try:

Apple Menu>System Preferences>International>Date

And select US from the pulldown. You will have to restart the LPS.

What version of Java are you using?

-Antun

globzie
01-22-2003, 05:47 AM
I have put the date in US but still having the pb.

jsp works fine (ex: http://localhost:8080/lps-b2/examples/hello.jsp) but I get a server error 500 when I try http://localhost:8080/lps-b2/examples/hello.lzx

java verison is 1.3.1

antun
01-22-2003, 08:53 AM
Hey globzie

I've tried the LPS on Mac OSX running Java 1.3.1 and I can't replicate the problem.

Which version of OSX are you running? Is it 10.2? or earlier?

Do you know if there may be any other locale settings in your OS?

-Antun

bloch
01-22-2003, 09:53 AM
This is fixed in the next release.
In the meantime, if you back down
to Java 1.3.1 or 1.3, you should
be able to work around the problem.

-Eric

globzie
01-23-2003, 03:46 AM
thanks for the answers.

I'm using os X ver. 10.2.3 (client Combo version-not server) on a PowerBook G4.

I guess I'll wait for the next version to have it on my mac. I have it running on a PC anyway.