You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2002/03/07 18:49:49 UTC

RE: Moving to windows from linux ? bug ?

	You need to make sure that the directory names are the correct case.
The only way I know to do this is using a command prompt (Windows Explorer
assumes that the first character is upper case and all others are lower).
The only way to fix it is to remove the directory (delete, not rename) and
then create a new directory with the correct capitalization.  You can use
anything you want to create the directories (including mkdir and Explorer),
but they must be the correct capitalization.

	Randy


> -----Original Message-----
> From: Romain Slootmaekers [mailto:romain@zzict.com]
> Sent: Thursday, March 07, 2002 1:35 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Moving to windows from linux ? bug ?
> 
> 
> Yo,
> 
> I'm moving from linux to windows  (yeah, yeah I know  :( )
> 
> On the linux platform, our web application runs PERFECTLY
> but on windows we have problems when the jsp pages are compiled.
> 
> appearantly, tomcat doesn't like the following situation.
>  file : /PROBLEM/abc.jsp
>          <%@ page language="java" import="xxx.*" %>
>          <% SomeClass x=new SomeClass();
>             // class really exists in package xxx
>             // and was compiled with the same compiler.
>           %>
> 
>  it gives following error:
> 
> org.apache.jasper.JasperException: Unable to compile 
> Found 2 semantic errors compiling
> ".../XXX/abc_1.java":
> 
>       SomeClass  x=new SomeClass();
>       <------->
> *** Error: The type "SomeClass" was found in package
> "XXX". However, that type is associated with another named package,
> "xxx".
> 
> I guess the compiler gets confused with the cases on windows, because 
> he has both an XXX and xxx package in the classpath.
> 
> Is this a bug ? or is this 'known/specified behaviour' and what do I
> do about it ?
> 
> TIA,
> 
> Sloot.
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Repost:Urgent: Trouble starting Tomcat - Unix - omvs

Posted by Brown Bay <br...@hotmail.com>.
Tomcat 4.0.1, JDK 1.3.1, OMVS Unix Os390.

When I start Tomcat I get this error.

 Exception during startup processing
 java.lang.reflect.InvocationTargetException:
 javax.xml.parsers.FactoryConfigurationError
         at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:157)
         at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

 Can you please point me to the right direction.

 Thanks.

 Brown.


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Trouble starting Tomcat - omvs

Posted by Brown Bay <br...@hotmail.com>.
Tomcat 4.0.1, JDK 1.3.1, OMVS Unix Os390.

When I start Tomcat I get this error.

Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:157)
        at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Can you please point me to the right direction.

Thanks.

Brown.

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Moving to windows from linux ? bug ?

Posted by Romain Slootmaekers <ro...@zzict.com>.

On Thu, 7 Mar 2002, Randy Layman wrote:

> 
> 	You need to make sure that the directory names are the correct case.
> The only way I know to do this is using a command prompt (Windows Explorer
> assumes that the first character is upper case and all others are lower).
> The only way to fix it is to remove the directory (delete, not rename) and
> then create a new directory with the correct capitalization.  You can use
> anything you want to create the directories (including mkdir and Explorer),
> but they must be the correct capitalization.
> 
> 	Randy
> 

You have to read carefully.... the problems occur on Windows, not Linux!

and since the application runs correcty under linux, and it was moved from
linux to windos using tar -zcvf and winzip, the correct capitalization was
preserved....

Anyway, I double checked this and the cap's of the files are the same
under linux and Windows  

Anyone else wanna hava a go at this ?


> 
> > -----Original Message-----
> > From: Romain Slootmaekers [mailto:romain@zzict.com]
> > Sent: Thursday, March 07, 2002 1:35 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Moving to windows from linux ? bug ?
> > 
> > 
> > Yo,
> > 
> > I'm moving from linux to windows  (yeah, yeah I know  :( )
> > 
> > On the linux platform, our web application runs PERFECTLY
> > but on windows we have problems when the jsp pages are compiled.
> > 
> > appearantly, tomcat doesn't like the following situation.
> >  file : /PROBLEM/abc.jsp
> >          <%@ page language="java" import="xxx.*" %>
> >          <% SomeClass x=new SomeClass();
> >             // class really exists in package xxx
> >             // and was compiled with the same compiler.
> >           %>
> > 
> >  it gives following error:
> > 
> > org.apache.jasper.JasperException: Unable to compile 
> > Found 2 semantic errors compiling
> > ".../XXX/abc_1.java":
> > 
> >       SomeClass  x=new SomeClass();
> >       <------->
> > *** Error: The type "SomeClass" was found in package
> > "XXX". However, that type is associated with another named package,
> > "xxx".
> > 
> > I guess the compiler gets confused with the cases on windows, because 
> > he has both an XXX and xxx package in the classpath.
> > 
> > Is this a bug ? or is this 'known/specified behaviour' and what do I
> > do about it ?
> > 
> > TIA,
> > 
> > Sloot.
> > 
> > 
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> > 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>