PDA

View Full Version : Installation or Deployment Problem?


javanaut
10-22-2003, 01:09 PM
I installed LPS DE 1.0.2 on a Win2K machine using the Windows executable.
Once the installation finished it couldn't run because LPS/Tomcat uses port
8080 which is being used by my Oracle database and infrastructure installation.
I changed the ports to 9090. I start the LPS manually using a batch file which sets
the environmental variables for JAVA_HOME and CATALINA_HOME. LPS DE starts up fine
when I access an lzx file:

- ------------------------------------
- Laszlo Presentation Server, 1.0.2 Production, initialized
- Running in context:Apache Tomcat/4.1.12
- Build: lps-v1-000683-0003
- Built on: 06:57 PM 18-Sep-2003
- Expires: NEVER
- Running against JRE 1.4.1_03
- Running with Java CLASSPATH: C:\j2sdk1.4.1_03\lib\tools.jar;C:\lps-1.0.2\jakar
ta-tomcat-4.1.12\bin\bootstrap.jar
- Running on Windows 2000 5.0
- Running as user user_name
- Total memory: 98.46 MB
- Available memory: 87.54 MB
- LPS_HOME is: C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\
- LPS developer
- Localhost (machine_name) IP: 192.168.100.34
- Server IP(s): 127.0.0.1
- Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1
.0.2\LPS\cache
- Media Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost
\lps-1.0.2\LPS\mcache
- Data Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\
lps-1.0.2\LPS\dcache

I can run the examples and the welcome page at lz-utils (http://localhost:9090/lps-1.0.2/lz-utils/welcome.html)

However when I modify hello.lzx and copy it to the my-apps directory I get
a server error 500 when I access the application at http://localhost:9090/lps-1.0.2/my-apps/hellowho.lzx

Any ideas on what I did or am doing incorrectly? Thanks very much in advance.

antun
10-22-2003, 01:37 PM
Rather than using a batch file to change the port number, have you tried to change the Tomcat configuration file? Most likely it's:

C:\lps-1.0.2\jakarta-tomcat-4.1.12\conf\server.xml

... and you want to change the value of the port in this bit:


<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false" />


I've highlighted the port you have to change in red.

Stop Tomcat/LPS, set the port above it to 9090 (or whatever you want it to be), then restart the LPS using the default startup script.

Let me know if that works for you.

-Antun

I start the LPS manually using a batch file which sets
the environmental variables for JAVA_HOME and CATALINA_HOME. LPS DE starts up fine
when I access an lzx file:

javanaut
10-22-2003, 04:41 PM
I don't use a batch file to change the ports. I changed the Tomcat configuration files and use a batch file to start Tomcat. I am able to display example applications and the lz-utils application welcome.html. The problem is that according to your documentation one way of deploying an application is to put the lzx file and its associated assets in the ..\laszlo_install_dir\jakarta-tomcat-4.1.x\webapps\my-apps
directory. I added a word to the hello.lzx file and put hello.lzx in the my-apps directory. When I go to display the file using: http://localhost:9090/lps-1.0.2/my-apps/hellowho.lzx

the output in the command window is:

- Request for C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hello
who.lzx
- GET request from: 127.0.0.1
- compiling C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hellowh
o.lzx...

and the browser displays a server 500 error: ... the server encountered an internal error that prevented it from fulfilling this request. It is probablby something simple that I'm doing wrong. Thanks for your help.

antun
10-22-2003, 04:49 PM
Is there any more information in the browser window, or is that all that you see?

You're using the regular startup script then? The one that you get to when you go to the Start menu, then Laszlo Presentation Server 1.0.2, then Start Laszlo Presentation Server?

-Antun

javanaut
10-22-2003, 05:12 PM
I don't see any other information in the command window after the compiling message:
- compiling C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hellowh
o.lzx...

Sorry, I was using Tomcat's standard startup script:

c:\lps-1.0.2\jakarta-tomcat-4.1.12\bin\startup.bat

When I use your standard startup script:

set JAVA_HOME=C:\j2sdk1.4.1_03
set CATALINA_HOME=C:\lps-1.0.2\jakarta-tomcat-4.1.12
%CATALINA_HOME%\webapps\lps-1.0.2\lz-utils\startTomcat.bat

I still get the same result:

internal server error 500 in the browser and the command windows shows (partial display):

- GET request from: 127.0.0.1
- compiling C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hellowh
o.lzx...

antun
10-23-2003, 08:52 AM
OK, can you tell me if you can serve up static .html pages OK? If you put the attached file into the my-apps folder, can you browse to it?

-Antun

antun
10-23-2003, 09:15 AM
One more thing - could you post your LPS log? It's in:

work/Standalone/localhost/lps-1.0.2/LPS/logs/lps-1.0.2.log

... from the Tomcat directory. I may need to get you to increase the logging level, but first let's see if that turns up anything.

-Antun

javanaut
10-23-2003, 09:21 AM
After placing your attached file in
C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps
I am able to display it with
http://localhost:9090/lps-1.0.2/my-apps/hello.html

javanaut
10-23-2003, 09:26 AM
Sorry I missed your earlier message. I've attached the log file. And thanks for all your help. Sorry if I posted the original message in the forum if it turns out to be an installation problem.

antun
10-23-2003, 03:29 PM
Sorry it's taken me so long to get back to you. I needed some more log information, but then realized that it would be hard to specify exactly where the log file might live on your box.

So to simplify things, what you should do is to start the script in a regular shell:

1) Open up a Windows Command Prompt shell.
2) cd to C:\lps-1.0.2\jakarta-tomcat-4.1.12\bin
3) Type in:

catalina.bat run

4) Open up hellowho.lzx, make a quick change to it, then try to access it in a browser window.
5) Copy the output that goes to the Windows Command Prompt shell and post it here.

Thanks for your patience!

-Antun

javanaut
10-23-2003, 08:14 PM
Thanks for your help Antun! Here's the output in the command window:

C:\lps-1.0.2\jakarta-tomcat-4.1.12\bin>echo %JAVA_HOME%
C:\j2sdk1.4.1_03

C:\lps-1.0.2\jakarta-tomcat-4.1.12\bin>catalina.bat run
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\j2sdk1.4.1_03
Oct 24, 2003 12:05:44 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 24, 2003 12:05:44 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 24, 2003 12:05:45 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 24, 2003 12:05:45 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 9090
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
Oct 24, 2003 12:05:59 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 9090
Oct 24, 2003 12:05:59 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Oct 24, 2003 12:05:59 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=10/30 config=C:\lps-1.0.2\jakarta-tomcat-4.1.12\bin\
..\conf\jk2.properties
- ------------------------------------
- Laszlo Presentation Server, 1.0.2 Production, initialized
- Running in context:Apache Tomcat/4.1.12
- Build: lps-v1-000683-0003
- Built on: 06:57 PM 18-Sep-2003
- Expires: NEVER
- Running against JRE 1.4.1_03
- Running with Java CLASSPATH: C:\j2sdk1.4.1_03\lib\tools.jar;..\bin\bootstrap.j
ar
- Running on Windows 2000 5.0
- Running as user danton
- Total memory: 98.41 MB
- Available memory: 88.7 MB
- LPS_HOME is: C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\
- LPS developer
- Localhost (ROADWARRIOR2) IP: 192.168.100.34
- Server IP(s): 127.0.0.1
- Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1
.0.2\LPS\cache
- Media Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost
\lps-1.0.2\LPS\mcache
- Data Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\
lps-1.0.2\LPS\dcache
- Request for C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hello
who.lzx
- Cache is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1
.0.2\LPS\cache
- GET request from: 127.0.0.1
- compiling C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hellowh
o.lzx...

javanaut
10-24-2003, 04:45 AM
Here's the pertinent output from the tomcat log file for:

2003-10-24 00:05:59 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\webdav
2003-10-24 00:05:59 WebappLoader[/webdav]: Deploying class repositories to work directory C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\webdav
2003-10-24 00:05:59 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom
2003-10-24 00:05:59 StandardManager[/webdav]: Seeding of random number generator has been completed
2003-10-24 00:05:59 StandardWrapper[/webdav:default]: Loading container servlet default
2003-10-24 00:05:59 StandardWrapper[/webdav:invoker]: Loading container servlet invoker
2003-10-24 00:09:57 LPS: LPS_HOME is C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\
2003-10-24 00:09:57 LPS: LPS config directory is: C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\\WEB-INF\lps\config
2003-10-24 00:09:57 LPS: Detailed LPS log is at C:\lps-1.0.2\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\logs\lps-1.0.2.log
2003-10-24 00:10:02 StandardWrapperValve[LPS]: Servlet.service() for servlet LPS threw exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)
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)
----- Root Cause -----
java.lang.ExceptionInInitializerError: com.laszlosystems.utils.ChainedException
at com.laszlosystems.compiler.CompilationEnvironment.<init>(CompilationEnvironment.java:75)
at com.laszlosystems.compiler.Compiler.compile(Compil er.java:186)
at com.laszlosystems.compiler.Compiler.compile(Compil er.java:148)
at com.laszlosystems.cm.CompilationManager.updateItem (CompilationManager.java:324)
at com.laszlosystems.cm.CompilationManager.findItem(C ompilationManager.java:234)
at com.laszlosystems.cm.CompilationManager.getLastMod ified(CompilationManager.java:218)
at com.laszlosystems.servlets.response.ResponseCompil e.getLastModified(ResponseCompile.java:307)
at com.laszlosystems.servlets.response.ResponseCompil e.respondImpl(ResponseCompile.java:137)
at com.laszlosystems.servlets.response.Response.respo nd(Response.java:251)
at com.laszlosystems.servlets.LZServlet._doGet(LZServ let.java:320)
at com.laszlosystems.servlets.LZServlet.doGet(LZServl et.java:258)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)
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)
Caused by: com.laszlosystems.utils.ChainedException: javax.xml.transform.TransformerConfigurationExcept ion: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at com.laszlosystems.compiler.Parser.<clinit>(Parser.java:76)
... 42 more
Caused by: javax.xml.transform.TransformerConfigurationExcept ion: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:946)
at com.laszlosystems.compiler.Parser.<clinit>(Parser.java:73)
... 42 more
Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:942)
... 43 more
Caused by: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.StylesheetHandler.error (StylesheetHandler.java:891)
at org.apache.xalan.processor.StylesheetHandler.error (StylesheetHandler.java:919)
at org.apache.xalan.processor.XSLTAttributeDef.setAtt rValue(XSLTAttributeDef.java:1109)
at org.apache.xalan.processor.XSLTElementProcessor.se tPropertiesFromAttributes(XSLTElementProcessor.jav a:375)
at org.apache.xalan.processor.XSLTElementProcessor.se tPropertiesFromAttributes(XSLTElementProcessor.jav a:311)
at org.apache.xalan.processor.ProcessorOutputElem.sta rtElement(ProcessorOutputElem.java:236)
at org.apache.xalan.processor.StylesheetHandler.start Element(StylesheetHandler.java:656)
at org.apache.xerces.parsers.AbstractSAXParser.startE lement(AbstractSAXParser.java:454)
at org.apache.xerces.parsers.AbstractXMLDocumentParse r.emptyElement(AbstractXMLDocumentParser.java:217)
at org.apache.xerces.impl.XMLNamespaceBinder.handleSt artElement(XMLNamespaceBinder.java:873)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyEle ment(XMLNamespaceBinder.java:590)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyEl ement(XMLDTDValidator.java:777)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanStartElement(XMLDocumentFragmentScannerImp l.java:748)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(XMLDocument FragmentScannerImpl.java:1453)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(XMLDocumentFragmentScannerImpl.ja va:333)
at org.apache.xerces.parsers.DTDConfiguration.parse(D TDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse(D TDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParse r.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse( AbstractSAXParser.java:1169)
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:934)
... 43 more

javanaut
10-24-2003, 06:18 AM
My installation of LPS 1.0.2 seems to work fine when it displays your example applications. It bombs out when it tries to compile a new application. It does that whether hellowho.lzx is in the my-apps or the examples directory. hellowho.lzx just has a few extra words in it. I need to get this resolved today so that I can start building an app for a client on spec. Should I delete lps-1.0.2 by dragging it to the trash or do you have some other preferred uninstall method? I don't see Laszlo in the list of programs in Add/Remove Programs or in the registry.

I also tried using lps-1.0.2 core. I downloaded and installed tomcat 4.1.12. The servlet and JSP examples work fine. I unpacked lps-1.0.2-core.tar.gz and copied the lps-1.0.2 to the webapps directory in tomcat. This installation, however, does not even display your example lzx files. The tomcat log follows:

2003-10-24 09:23:02 HostConfig[localhost]: Deploying configuration descriptor admin.xml
2003-10-24 09:23:04 HostConfig[localhost]: Deploying configuration descriptor manager.xml
2003-10-24 09:23:04 WebappLoader[/manager]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\manager
2003-10-24 09:23:04 ContextConfig[/manager]: Configured an authenticator for method BASIC
2003-10-24 09:23:04 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom
2003-10-24 09:23:04 StandardManager[/manager]: Seeding of random number generator has been completed
2003-10-24 09:23:04 StandardWrapper[/manager:default]: Loading container servlet default
2003-10-24 09:23:04 StandardWrapper[/manager:invoker]: Loading container servlet invoker
2003-10-24 09:23:04 HostConfig[localhost]: Deploying web application directory lps-1.0.2
2003-10-24 09:23:04 StandardHost[localhost]: Installing web application at context path /lps-1.0.2 from URL file:C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2
2003-10-24 09:23:04 WebappLoader[/lps-1.0.2]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2
2003-10-24 09:23:04 WebappLoader[/lps-1.0.2]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\classes
2003-10-24 09:23:04 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/activation.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\activation.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/axis-ant.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\axis-ant.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/axis.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\axis.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/batik-svggen.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\batik-svggen.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\commons-collections.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/commons-discovery.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\commons-discovery.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/commons-httpclient-2.0-rc1.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\commons-httpclient-2.0-rc1.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/commons-jxpath.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\commons-jxpath.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\commons-logging.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/fop.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\fop.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/iso-relax.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\iso-relax.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/jakarta-regexp-1.2.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\jakarta-regexp-1.2.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/jaxrpc.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\jaxrpc.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/jdom.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\jdom.jar
2003-10-24 09:23:05 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/jing.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\jing.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/jython.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\jython.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/log4j-1.2.6.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\log4j-1.2.6.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/lps.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\lps.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/mailapi.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\mailapi.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/saaj.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\saaj.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/smtp.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\smtp.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/wsdl4j.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\wsdl4j.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/xalan.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\xalan.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/xerces.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\xerces.jar
2003-10-24 09:23:06 WebappLoader[/lps-1.0.2]: Deploy JAR /WEB-INF/lib/xpp3_1_1_2.jar to C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\WEB-INF\lib\xpp3_1_1_2.jar
2003-10-24 09:23:07 StandardManager[/lps-1.0.2]: Seeding random number generator class java.security.SecureRandom
2003-10-24 09:23:07 StandardManager[/lps-1.0.2]: Seeding of random number generator has been completed
2003-10-24 09:23:07 StandardWrapper[/lps-1.0.2:default]: Loading container servlet default
2003-10-24 09:23:07 StandardWrapper[/lps-1.0.2:invoker]: Loading container servlet invoker
2003-10-24 09:23:07 HostConfig[localhost]: Deploying web application directory ROOT
2003-10-24 09:23:07 StandardHost[localhost]: Installing web application at context path from URL file:C:\jakarta-tomcat-4.1.12\webapps\ROOT
2003-10-24 09:23:07 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\_
2003-10-24 09:23:07 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2003-10-24 09:23:07 StandardManager[]: Seeding of random number generator has been completed
2003-10-24 09:23:07 StandardWrapper[:default]: Loading container servlet default
2003-10-24 09:23:07 StandardWrapper[:invoker]: Loading container servlet invoker
2003-10-24 09:23:07 HostConfig[localhost]: Deploying web application directory tomcat-docs
2003-10-24 09:23:07 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\jakarta-tomcat-4.1.12\webapps\tomcat-docs
2003-10-24 09:23:07 WebappLoader[/tomcat-docs]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\tomcat-docs
2003-10-24 09:23:08 StandardManager[/tomcat-docs]: Seeding random number generator class java.security.SecureRandom
2003-10-24 09:23:08 StandardManager[/tomcat-docs]: Seeding of random number generator has been completed
2003-10-24 09:23:08 StandardWrapper[/tomcat-docs:default]: Loading container servlet default
2003-10-24 09:23:08 StandardWrapper[/tomcat-docs:invoker]: Loading container servlet invoker
2003-10-24 09:23:08 HostConfig[localhost]: Deploying web application directory webdav
2003-10-24 09:23:08 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\jakarta-tomcat-4.1.12\webapps\webdav
2003-10-24 09:23:08 WebappLoader[/webdav]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\webdav
2003-10-24 09:23:08 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom
2003-10-24 09:23:08 StandardManager[/webdav]: Seeding of random number generator has been completed
2003-10-24 09:23:08 StandardWrapper[/webdav:default]: Loading container servlet default
2003-10-24 09:23:08 StandardWrapper[/webdav:invoker]: Loading container servlet invoker
2003-10-24 09:23:49 LPS: LPS_HOME is C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\
2003-10-24 09:23:49 LPS: LPS config directory is: C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\\WEB-INF\lps\config
2003-10-24 09:23:49 LPS: Detailed LPS log is at C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\logs\lps-1.0.2.log
2003-10-24 09:23:50 StandardWrapperValve[LPS]: Servlet.service() for servlet LPS threw exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)
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)
----- Root Cause -----
java.lang.ExceptionInInitializerError: com.laszlosystems.utils.ChainedException
at com.laszlosystems.compiler.CompilationEnvironment.<init>(CompilationEnvironment.java:75)
at com.laszlosystems.compiler.Compiler.compile(Compil er.java:186)
at com.laszlosystems.compiler.Compiler.compile(Compil er.java:148)
at com.laszlosystems.cm.CompilationManager.updateItem (CompilationManager.java:324)
at com.laszlosystems.cm.CompilationManager.findItem(C ompilationManager.java:234)
at com.laszlosystems.cm.CompilationManager.getLastMod ified(CompilationManager.java:218)
at com.laszlosystems.servlets.response.ResponseCompil e.getLastModified(ResponseCompile.java:307)
at com.laszlosystems.servlets.response.ResponseCompil e.respondImpl(ResponseCompile.java:137)
at com.laszlosystems.servlets.response.Response.respo nd(Response.java:251)
at com.laszlosystems.servlets.LZServlet._doGet(LZServ let.java:320)
at com.laszlosystems.servlets.LZServlet.doGet(LZServl et.java:258)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)
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)
Caused by: com.laszlosystems.utils.ChainedException: javax.xml.transform.TransformerConfigurationExcept ion: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at com.laszlosystems.compiler.Parser.<clinit>(Parser.java:76)
... 42 more
Caused by: javax.xml.transform.TransformerConfigurationExcept ion: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:946)
at com.laszlosystems.compiler.Parser.<clinit>(Parser.java:73)
... 42 more
Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:942)
... 43 more
Caused by: javax.xml.transform.TransformerException: Failed calling setMethod method
at org.apache.xalan.processor.StylesheetHandler.error (StylesheetHandler.java:891)
at org.apache.xalan.processor.StylesheetHandler.error (StylesheetHandler.java:919)
at org.apache.xalan.processor.XSLTAttributeDef.setAtt rValue(XSLTAttributeDef.java:1109)
at org.apache.xalan.processor.XSLTElementProcessor.se tPropertiesFromAttributes(XSLTElementProcessor.jav a:375)
at org.apache.xalan.processor.XSLTElementProcessor.se tPropertiesFromAttributes(XSLTElementProcessor.jav a:311)
at org.apache.xalan.processor.ProcessorOutputElem.sta rtElement(ProcessorOutputElem.java:236)
at org.apache.xalan.processor.StylesheetHandler.start Element(StylesheetHandler.java:656)
at org.apache.xerces.parsers.AbstractSAXParser.startE lement(AbstractSAXParser.java:454)
at org.apache.xerces.parsers.AbstractXMLDocumentParse r.emptyElement(AbstractXMLDocumentParser.java:217)
at org.apache.xerces.impl.XMLNamespaceBinder.handleSt artElement(XMLNamespaceBinder.java:873)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyEle ment(XMLNamespaceBinder.java:590)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyEl ement(XMLDTDValidator.java:777)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanStartElement(XMLDocumentFragmentScannerImp l.java:748)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(XMLDocument FragmentScannerImpl.java:1453)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(XMLDocumentFragmentScannerImpl.ja va:333)
at org.apache.xerces.parsers.DTDConfiguration.parse(D TDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse(D TDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParse r.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse( AbstractSAXParser.java:1169)
at org.apache.xalan.processor.TransformerFactoryImpl. newTemplates(TransformerFactoryImpl.java:934)
... 43 more


The lps log follows:

24 Oct 2003 09:23:49 () INFO response.Response - Server IP(s): 127.0.0.1
24 Oct 2003 09:23:49 () INFO response.ResponseCompile - Cache is at C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\cache
24 Oct 2003 09:23:49 () INFO response.ResponseMEDIA - Media Cache is at C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\mcache
24 Oct 2003 09:23:49 () INFO response.ResponseDATA - Data Cache is at C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\dcache
24 Oct 2003 09:23:49 (127.0.0.1 1) INFO servlets.LZServlet - Request for C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\animation.lzx
24 Oct 2003 09:23:49 (127.0.0.1 1) INFO response.ResponseCompile - Cache is at C:\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-1.0.2\LPS\cache
24 Oct 2003 09:23:49 (127.0.0.1 1) INFO response.Response - GET request from: 127.0.0.1
24 Oct 2003 09:23:49 (127.0.0.1 1) INFO compiler.Compiler - compiling C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\animation.lzx...
24 Oct 2003 09:35:35 (127.0.0.1 2) INFO servlets.LZServlet - Request for C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\hello.lzx
24 Oct 2003 09:35:35 (127.0.0.1 2) INFO response.Response - GET request from: 127.0.0.1
24 Oct 2003 09:35:35 (127.0.0.1 2) INFO compiler.Compiler - compiling C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\hello.lzx...
24 Oct 2003 09:35:46 (127.0.0.1 3) INFO servlets.LZServlet - Request for C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\local.lzx
24 Oct 2003 09:35:46 (127.0.0.1 3) INFO response.Response - GET request from: 127.0.0.1
24 Oct 2003 09:35:46 (127.0.0.1 3) INFO compiler.Compiler - compiling C:\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\examples\local.lzx...


I guess I should have posted this in the installation forum instead -- sorry. Hope you can figure out what I'm doing wrong.

antun
10-24-2003, 08:28 AM
By all means feel free to try uninstalling and reinstalling the LPS. It's safe just to delete c:\lps-1.0.2\ completely, and reinstall.

Should I delete lps-1.0.2 by dragging it to the trash or do you have some other preferred uninstall method?

Thanks for the log files - we're looking into it right now, and I'll let you know as soon as we have something.

-Antun

bloch
10-24-2003, 08:35 AM
This appears to be a xalan configuration
problem that we don't catch nicely.

Did you change/move any jars
around when you changed the port #?

What jars exist in $JAVA_HOME/jre/lib/ext
and what jars exist in $TOMCAT_HOME/endorsed/common ?

You could try copying $LPS_HOME/WEB-INF/lib/xalan.jar to $TOMCAT_HOME/endorsed/common/xalan.jar,
but I'm not entirely sure that would help.

-Eric

bloch
10-24-2003, 08:37 AM
If the above reply doesn't help you,
you can debug this further by setting

JAVA_OPTS=-verbose:class

before you run your startup.bat script, too.


-Eric

javanaut
10-24-2003, 09:20 AM
No, I did not move any jars. The following jars are in JAVA_HOME\jre\lib\ext:

dnsns
ldapsec
localedata
sunjce_provider

The following jars are in TOMCAT_HOME\endorsed\common:

xercesImpl
xmlParserAPIs

I added xalan.jar to this directory from your distribution. However, as you surmised it did not help. I will try the next suggestion.

javanaut
10-24-2003, 09:40 AM
My startup script now reads:

set PATH=
set PATH=c:\j2sdk1.4.1_03\bin
set JAVA_HOME=C:\j2sdk1.4.1_03
set CATALINA_HOME=C:\lps-1.0.2\jakarta-tomcat-4.1.12
set JAVA_OPTS=-verbose:class
%CATALINA_HOME%\webapps\lps-1.0.2\lz-utils\startTomcat.bat


In verbose mode I get the following output in the command window after trying to load \my-apps\hellowho.lzx:


- compiling C:\lps-1.0.2\jakarta-tomcat-4.1.12\webapps\lps-1.0.2\my-apps\hellowh
o.lzx...
[Loaded com.laszlosystems.compiler.CompilationErrorHandler]
[Loaded com.laszlosystems.compiler.SymbolGenerator]
[Loaded com.laszlosystems.compiler.ViewSchema]
[Loaded com.laszlosystems.xml.internal.Schema]
[Loaded com.laszlosystems.xml.internal.Schema$1]
[Loaded com.laszlosystems.xml.internal.Schema$Type]
[Loaded org.apache.oro.text.regex.MalformedPatternExceptio n]
[Loaded org.apache.oro.text.regex.PatternMatcher]
[Loaded org.apache.oro.text.regex.Perl5Matcher]
[Loaded org.apache.oro.text.regex.MatchResult]
[Loaded org.apache.oro.text.regex.Perl5Compiler]
[Loaded org.apache.oro.text.regex.PatternCompiler]
[Loaded org.apache.oro.text.regex.Pattern]
[Loaded org.apache.oro.text.regex.CharStringPointer]
[Loaded org.apache.oro.text.regex.OpCode]
[Loaded org.apache.oro.text.regex.Perl5Pattern]
[Loaded com.laszlosystems.compiler.Parser]
[Loaded com.laszlosystems.compiler.Parser$1$SourceLocatorS AXBuilder]
[Loaded java.io.FileReader from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.TransformerConfigurationExcept ion from C:\J2SDK1.4.1
_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.TransformerException from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded javax.xml.transform.Result from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded com.laszlosystems.compiler.Parser$2$SourceLocatorH andler]
[Loaded org.iso_relax.verifier.VerifierConfigurationExcept ion]
[Loaded javax.xml.transform.Source from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.TransformerFactory from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded javax.xml.transform.FactoryFinder from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.FactoryFinder$ClassLoaderFinde rConcrete from C:\J2SD
K1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.FactoryFinder$ClassLoaderFinde r from C:\J2SDK1.4.1_0
3\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.TransformerFactoryImpl from C:\J2SDK1.4.1_03\
JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.sax.SAXTransformerFactory from C:\J2SDK1.4.1_03\JRE\
LIB\RT.JAR]
[Loaded org.apache.xml.utils.DefaultErrorHandler from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded javax.xml.transform.ErrorListener from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.stream.StreamSource from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded javax.xml.transform.Templates from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.StylesheetHandler from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded javax.xml.transform.sax.TemplatesHandler from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xml.utils.PrefixResolver from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xml.utils.NodeConsumer from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.res.XSLMessages from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.XSLTSchema from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xalan.processor.XSLTElementDef from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xalan.processor.XSLTAttributeDef from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xml.utils.StringToIntTable from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xalan.processor.ProcessorCharacters from C:\J2SDK1.4.1_03\JRE
\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.XSLTElementProcessor from C:\J2SDK1.4.1_03\JR
E\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemTextLiteral from C:\J2SDK1.4.1_03\JRE\LIB
\RT.JAR]
[Loaded org.apache.xalan.templates.ElemTemplateElement from C:\J2SDK1.4.1_03\JRE
\LIB\RT.JAR]
[Loaded org.apache.xml.utils.UnImplNode from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Node from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Element from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.NodeList from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Document from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.SourceLocator from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.WhitespaceStrippingElementMatcher from C:\J2SDK1.4.1_03
\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorLRE from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xalan.processor.ProcessorTemplateElem from C:\J2SDK1.4.1_03\J
RE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemLiteralResult from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemUse from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]

[Loaded org.apache.xalan.processor.ProcessorUnknown from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.templates.ElemUnknown from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xalan.templates.ElemValueOf from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xml.utils.QName from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemCopyOf from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xalan.templates.ElemNumber from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xalan.transformer.DecimalToRoman from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.templates.ElemSort from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xalan.templates.ElemWithParam from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xalan.templates.ElemApplyTemplates from C:\J2SDK1.4.1_03\JRE\
LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemCallTemplate from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.templates.ElemForEach from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xalan.templates.ElemApplyImport from C:\J2SDK1.4.1_03\JRE\LIB
\RT.JAR]
[Loaded org.apache.xalan.templates.ElemIf from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemWhen from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xalan.templates.ElemOtherwise from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xalan.templates.ElemChoose from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xalan.templates.ElemAttribute from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xalan.templates.ElemElement from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xalan.templates.ElemVariable from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xalan.templates.ElemParam from C:\J2SDK1.4.1_03\JRE\LIB\RT.JA
R]
[Loaded org.apache.xalan.processor.ProcessorText from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xalan.templates.ElemText from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xalan.templates.ElemPI from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemComment from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xalan.templates.ElemCopy from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xalan.templates.ElemMessage from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xalan.templates.ElemFallback from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xalan.processor.ProcessorImport from C:\J2SDK1.4.1_03\JRE\LIB
\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorInclude from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorStripSpace from C:\J2SDK1.4.1_03\JRE
\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorPreserveSpace from C:\J2SDK1.4.1_03\
JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorOutputElem from C:\J2SDK1.4.1_03\JRE
\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorKey from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xalan.processor.ProcessorDecimalFormat from C:\J2SDK1.4.1_03\
JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorAttributeSet from C:\J2SDK1.4.1_03\J
RE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorGlobalVariable Decl from C:\J2SDK1.4.
1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorGlobalParamDec l from C:\J2SDK1.4.1_0
3\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorTemplate from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemTemplate from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xalan.processor.ProcessorNamespaceAlias from C:\J2SDK1.4.1_03
\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemExtensionScript from C:\J2SDK1.4.1_03\JRE
\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemExtensionDecl from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorStylesheetElem ent from C:\J2SDK1.4.1
_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.processor.ProcessorStylesheetDoc from C:\J2SDK1.4.1_03\
JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.BoolStack from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.FuncDocument from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xpath.functions.Function2Args from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xpath.functions.FunctionOneArg from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xpath.functions.Function from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xpath.Expression from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.compiler.FunctionTable from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xpath.compiler.FuncLoader from C:\J2SDK1.4.1_03\JRE\LIB\RT.JA
R]
[Loaded org.apache.xpath.compiler.Keywords from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]

[Loaded org.apache.xalan.templates.FuncFormatNumb from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xpath.functions.Function3Args from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xml.utils.NamespaceSupport2 from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.xml.sax.helpers.NamespaceSupport from C:\J2SDK1.4.1_03\JRE\LIB\RT.JA
R]
[Loaded org.apache.xml.utils.Context2 from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.SystemIDResolver from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded javax.xml.transform.dom.DOMSource from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded javax.xml.transform.sax.SAXSource from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.SAXSourceLocator from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.xml.sax.helpers.LocatorImpl from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.IntStack from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.IntVector from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.StylesheetRoot from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xalan.templates.StylesheetComposed from C:\J2SDK1.4.1_03\JRE\
LIB\RT.JAR]
[Loaded org.apache.xalan.templates.Stylesheet from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xpath.XPath from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.compiler.XPathParser from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xpath.compiler.Compiler from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]

[Loaded org.apache.xpath.compiler.OpMap from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.compiler.Lexer from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.axes.WalkerFactory from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xpath.axes.ChildIterator from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR
]
[Loaded org.apache.xpath.axes.LocPathIterator from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xpath.axes.PredicatedNodeTest from C:\J2SDK1.4.1_03\JRE\LIB\R
T.JAR]
[Loaded org.apache.xpath.patterns.NodeTest from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]

[Loaded org.apache.xpath.axes.SubContextList from C:\J2SDK1.4.1_03\JRE\LIB\RT.JA
R]
[Loaded org.apache.xml.dtm.DTMIterator from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.objects.XNumber from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.objects.XObject from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xpath.axes.IteratorPool from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]

[Loaded org.apache.xpath.patterns.StepPattern from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.xpath.patterns.UnionPattern from C:\J2SDK1.4.1_03\JRE\LIB\RT.
JAR]
[Loaded org.apache.xpath.axes.SelfIteratorNoPredicate from C:\J2SDK1.4.1_03\JRE\
LIB\RT.JAR]
[Loaded org.apache.xml.utils.URI from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.XMLNSDecl from C:\J2SDK1.4.1_03\JRE\LIB\RT.JA
R]
[Loaded org.apache.xpath.XPathContext from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.dtm.DTMManager from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.TemplateList from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded javax.xml.transform.Transformer from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.WhiteSpaceInfo from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xml.dtm.DTM from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.OutputProperties from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.templates.NamespaceAlias from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xalan.templates.KeyDeclaration from C:\J2SDK1.4.1_03\JRE\LIB\
RT.JAR]
[Loaded org.apache.xml.utils.StringVector from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.DecimalFormatProperties from C:\J2SDK1.4.1_03
\JRE\LIB\RT.JAR]
[Loaded org.apache.xalan.templates.ElemAttributeSet from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.transformer.TransformerImpl from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded org.apache.xml.dtm.DTMWSFilter from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.DOMException from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Text from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.CharacterData from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Attr from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.DOMImplementation from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.DocumentType from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.NamedNodeMap from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.ProcessingInstruction from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.EntityReference from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.DocumentFragment from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.Comment from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.w3c.dom.CDATASection from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded org.apache.xml.utils.XMLCharacterRecognizer from C:\J2SDK1.4.1_03\JRE\LI
B\RT.JAR]
[Loaded org.apache.xalan.res.XSLTErrorResources from C:\J2SDK1.4.1_03\JRE\LIB\RT
.JAR]
[Loaded org.apache.xml.utils.res.XResourceBundleBase from C:\J2SDK1.4.1_03\JRE\L
IB\RT.JAR]
[Loaded java.text.NumberFormat$Field from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]
[Loaded java.lang.ExceptionInInitializerError from C:\J2SDK1.4.1_03\JRE\LIB\RT.J
AR]
[Loaded org.apache.tomcat.util.buf.C2BConverter]
[Loaded org.apache.tomcat.util.buf.WriteConvertor]
[Loaded org.apache.tomcat.util.buf.IntermediateOutputStrea m]
[Loaded org.apache.tomcat.util.http.FastHttpDateFormat]
[Loaded org.apache.tomcat.util.http.HttpMessages]
[Loaded sun.net.ConnectionResetException from C:\J2SDK1.4.1_03\JRE\LIB\RT.JAR]


with the resulting server 500 error in the browser window.

bloch
10-24-2003, 10:44 AM
Ok, this does look like a xalan config error
because our servlet is getting the xalan
from j2sdk1.4.1_03 and should be getting
the one from either LPS_HOME/WEB-INF/lib or
$TOMCAT_HOME/common/endorsed .

Hmm....I've never used 1.4.1_03 (only 1.4.1_02),
so let me go see if we can reproduce and come up with the necessary placement of jars to fix this.

-Eric

bloch
10-24-2003, 11:27 AM
Hmm... I just tried with latest 1.4.1_05
from Sun with no problem and no need to
copy the xalan.jar file. Can you upgrade to
1.4.1_05 and retry?

Btw, this is pretty strange since I'm assuming
things were working before you changed the
port # in the server.xml file. Something
else *must* have changed or else your
config wouldn't have worked on 8080 either.
Hmm....

-E

javanaut
10-24-2003, 11:46 AM
The sequence of events with respect to LPS were:
1. installed LPS-1.0.1 using the win executable.
2. displayed your example apps which worked.
3. decided to see if I could use LPS to create a better version [ :) ] version of my app in shorter time.
4. noticed that you had just released 1.0.2
5. decided to upgrade before I started development
6. deleted the LPS-1.0.1 install (I'm pretty sure)
7. installed LPS-1.0.2 using the win executable
8. displayed your example apps but could not display a modified lzx

I use a different port because an Oracle component uses 8080 and I never tried to use it on port 8080. I only changed the Tomcat config to use a different port.



I can upgrade to J2SE 1.4.1_05 but that release is in EOL. Can J2SE 1.4.2_02 be used instead? Thanks in advance.

bloch
10-24-2003, 11:57 AM
This clears things up a little. It
looks like you've never seens a succesful
app compile because our installer ships
the apps pre-compiled. Why xalan is causing
you problems is confusing though. Perhaps
it's 1.4.1_03 in particular since 1.4.1_02 and
1.4.1_05 work here. The change in the port # is
a red herring.

You can run against 1.4.2_02 but you
will definitely need to copy xalan.jar to
$TOMCAT_HOME/common/endorsed before starting
the server. Here's what I recommend.

This may sound strange but the order here
will matter:

1) remove your existing lps 1.0.2 install
2) install 1.4.2_02 jdk
3) re-install lps 1.0.2
4) stop lps
5) copy $LPS_HOME/WEB-INF/lib/xalan.jar to
$TOMCAT_HOME/common/endorsed/xalan.jar

5) re-start lps and go.


-Eric

javanaut
10-24-2003, 12:02 PM
Whichever version of J2SE is used what is your recommended install method? When I tried to install using the core distribution neither the standard examples displayed or the modified lzx. My installation steps were:

1. used J2SE 1.4.1_03
2. installed Tomcat 4.1.12
3. modified Tomcat configs to use a different port
4. copied the LPS-1.0.2 directory to Tomcat's webapps directory.
5. started Tomcat. Confirmed that I could execute JSP's and servlets.
6. tried to use LPS to display your standard examples and a modified lps and found neither worked.

antun
10-24-2003, 12:18 PM
Don't worry about this at all - the reason nothing worked in the core version is that with the .exe install, the examples and sample applicatinos that we ship with come precompiled and cached. This is because after you run the installer an application pops up for navigating through the examples. To speed this process up, we precomiple all the apps in the self-installing version.

-Antun

When I tried to install using the core distribution neither the standard examples displayed or the modified lzx.

javanaut
10-24-2003, 12:55 PM
Eric, Antun,

That worked! Both your standard examples and the slightly modified lzx file in my-apps worked. Thanks a lot! And that's right I never saw a successful compile before. I followed Eric's steps and used an installation of Tomcat 4.1.12 and your core distribution.

Well, I'm off on my LZX adventures! Thanks again. :)

antun
10-24-2003, 01:46 PM
Glad to hear that - thanks for being so patient with the install, and good luck!

Feel free to ask away on these forums if you get stuck.

-Antun

javanaut
10-25-2003, 05:39 PM
Now that LPS-1.0.2 is working I wanted to try to figure out why LPS wouldn't work. On another computer I have J2SE 1.4.1_03 installed with Tomcat 4.1.18 so I installed LPS-1.0.2 core in Tomcat's webapps directory. I used my existing Tomcat startup script and LPS worked! It worked even without copying xalan.jar over to $TOMCAT_HOME/common/endorsed. I compared my J2SE 1.4.1_03 installations and they were not the same. The J2SE 1.4.1_03 install on the computer on which LPS would not work had extra directories [ojvm which I know for sure is Oracle's, minimal, and vanilla] in the jre\bin directory which were the result of the Oracle JDeveloper 9i installation process. So my LPS-1.0.2 never worked and only appeared to work because of the pre-compiled lzx files that are a part of the windows executable install. These files were not modified so the LPS server used them. So Eric was right in the sense that something was different about my J2SE 1.4.1_03 installation. That should help future LZX developers who are also using Oracle JDeveloper 9i with the ojvm installed to make JDeveloper faster. Again thanks for your help!

bloch
10-25-2003, 05:58 PM
Aha! The world is whole again.

Tsk tsk to Oracle JDeveloper 9i for modifying your JRE on you.

FYI, we've only seen the xalan jar copying
required in JDK 1.4.2. I threw it in as a guess
because you were experiencing a "xalan config"
problem.

-verbose:class can really help diagnose
class loading nightmares like these.

Thanks for the additional detail!

-Eric