[Laszlo-dev] cannot start LPS servlet

P T Withington ptw at pobox.com
Mon May 18 15:08:50 PDT 2009


Lest you are trying to cast asparagus on me (I see my initials there),  
right above that line I see:

          <!-- Note that there must be a space after the  close-curly- 
brace
              in the localWar attribute. I don't know why, but it  
doesn't work
              without that space. [bshine 4.29.06] -->

So, I guess you have to ask Ben...

Did you maybe upgrade your tomcat?  I seem to be using 5.0.30.

On 2009-05-18, at 17:45EDT, Henry Minsky wrote:

> Ah, there is a space character in this line in the webapp.deploy  
> target in
> build.xml, right after theclose '}'.
>
> 10147        ptw              localWar="file://${LPS_HOME} " />
>
>
> I wonder why this used to work for me before though?? Is there some  
> flag
> that tells ant or tomcat to ignore whitespace in filenames? ?
>
>
> On Mon, May 18, 2009 at 5:29 PM, Joseph Silverman
> <yossie at laszlosystems.com>wrote:
>
>> the directory may exist, but the code is TRYING to open the file -  
>> there is
>> no flat file by that name.
>>
>> On May 18, 2009, at 2:25 PM, Henry Minsky wrote:
>>
>> I just restored my macbook from backup, and now when I try to  
>> deploy the
>> LPS servlet, I am getting this
>> error
>>
>> java.io.FileNotFoundException: /Users/hqm/openlaszlo/trunk  (No  
>> such file
>> or directory)
>> at java.io.FileInputStream.open(Native Method)
>> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>> at
>> org 
>> .apache 
>> .catalina.manager.ManagerServlet.copyInternal(ManagerServlet.java: 
>> 1568)
>> at
>> org.apache.catalina.manager.ManagerServlet.copy(ManagerServlet.java: 
>> 1529)
>> at
>> org 
>> .apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java: 
>> 807)
>> at
>> org 
>> .apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java: 
>> 344)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> at
>> org 
>> .apache 
>> .catalina 
>> .core 
>> .ApplicationFilterChain 
>> .internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org 
>> .apache 
>> .catalina 
>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
>> 188)
>> at
>> org 
>> .apache 
>> .catalina 
>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>> But that directory certainly does exist, and the permissions look  
>> fine to
>> me
>>
>> ls -ald /Users/hqm/openlaszlo/trunk
>> drwxr-xr-x  33 hqm  staff  1122 May 18 17:18 /Users/hqm/openlaszlo/ 
>> trunk/
>>
>> Anyone have a theory as to what could be going on?
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com
>>
>>
>>
>>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list