Configuring tomcat4 to run as a WinNT Service

2001-12-05 Thread Amine AMAR

Hello,

I'm runnig tomcat V4.0 under Win2000. It runs perfectly from the command
line. I was used to the jk_nt_service.exe utility for tomcat 3.2.4. it seems
that it no longer exists for tomcat 4 and was replaced by
%tomcat_home%\bin\tomcat.exe.

I tried to use the following command to install tomcat4 as a Win2000
service:
tomcat -install tomcat4
C:\jdk1.3.1_01\lib -Djava.classpath="C:\jakarta-tomcat-4.0.1\bin\bootstrap.j
ar;C:\jdk1.3.1_01\lib\lib\tools.jar" -Dcatalina.base="C:\jakarta-tomcat-4.0.
1" -Dcatalina.home="C:\jakarta-tomcat-4.0.1" -start
org.apache.catalina.startup.Bootstrap -params start -stop
org.apache.catalina.startup.Bootstrap -params stop -out
"C:\jakarta-tomcat-4.0.1\logs\out.log" -err
"C:\jakarta-tomcat-4.0.1\logs\err.log" -current "C:\jakarta-tomcat-4.0.1"

the service installs correctly but when trying to start it, I get the
following messages (in the Win event log)
The tomcat4 service failed to start.
Could not load the Java Virtual Machine.
The LoadLibrary function failed for the following reason: Access Denied

Can anyone please help :)

Thank you very much

Amine




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




configuring a DB connection pooling for Oracle on Tomcat4

2001-12-05 Thread Amine AMAR

Hi,

I need to use a database connection pooling for Oracle 817 with tomcat 4. I made all 
the configuration described in the documentation, but it still does not work.

I went thru the docs again and understood that tomcat 4 can use only tyrex DBs thru 
default configuration, and that i need to write my own factory to have a JDBC 
connection pool with tomcat 4.

I have two questions:
- did I understand correctly the docs?
- if it's the case, Can any one point me to how to do it (I have already read the 
example and explanations in tomcat docs).?

thank's

Amine



Re: JavaBean on Tomcat 4.0

2001-12-06 Thread Amine AMAR

I do not know exactly the reason but the solution is to explicitly import the packages 
of ALL the classes you are using (ex.
java.util.*)

- Original Message -
From: "Wong, Ken LY" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 7:33 AM
Subject: JavaBean on Tomcat 4.0


> Dear all,
>
> I'm now trying the tomcat 4.0 and want to use JavaBean, what's
> the settings of it? How can I achieve in using this? As I've write
> a testing program, which works fine on tomcat 3.2.3, I don't know
> why it can't works on tomcat 4.0, below is the error reponse...
>
> Generated servlet error:
> C:\Program Files\Tomcat
> 4.0\work\localhost\firstcall\inputValidate_0005fhtml$jsp.java:221: Class
> org.apache.jsp.FormBean not found.
> FormBean formHandler = null;
> ^
>
>
> An error occurred at line: 4 in the jsp file: /inputValidate_html.jsp
>
> Generated servlet error:
> C:\Program Files\Tomcat
> 4.0\work\localhost\firstcall\inputValidate_0005fhtml$jsp.java:224: Class
> org.apache.jsp.FormBean not found.
> formHandler= (FormBean)
>   ^
>
>
> An error occurred at line: 4 in the jsp file: /inputValidate_html.jsp
>
> Generated servlet error:
> C:\Program Files\Tomcat
> 4.0\work\localhost\firstcall\inputValidate_0005fhtml$jsp.java:229: Class
> org.apache.jsp.FormBean not found.
> formHandler = (FormBean)
> java.beans.Beans.instantiate(this.getClass().getClassLoader(), "FormBean");
>^
> 3 errors
>
>
> FormBean is the bean class that I wrritten. It seems related to
> the classpath settings, but I have put the FormBean into...
> webapps/app1/WEB-INF/classes/FormBean.class, why it still
> doesn't work? What's wrong with it?
>
> Thanks so much~~~
>
> --
> Best regards,
>
> Ken
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Unable to start tomcat 4

2001-12-08 Thread Amine AMAR

hi,
the error you're having is caused by the absence of the JNDI package in JDK1.2 (you 
can though download it from java's website
(java.dun.com)). since JDK1.3, the package is included in standard in JSDK and need 
not be added.


- Original Message -
From: "Emil Diego" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 8:54 PM
Subject: Unable to start tomcat 4


> Thanx for all the responses about my problem.  I am still getting
> some errors though.
>
> As suggested I update to the Java 1.2.2 SDK.  I installed it
> successfully.  I am still receiving a problem when trying to start
> tomcat 4.  I have attached the catalina.out error log.  It reports the
> following problem.
>
> Exception during startup processing
> java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: 
>javax/naming/directory/DirContext.
>
>
>
> The rest of the error message is included in the log file.
>
>
> Emil Diego
> [EMAIL PROTECTED]
>
>
>





> Exception during startup processing
> java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: 
>javax/naming/directory/DirContext
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:124)
> at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java)
> at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java)
> at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java)
> at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
> at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
> at 
>org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1214)
> at 
>org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
> at 
>org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
> at 
>org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
> at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java)
> at org.apache.catalina.startup.Catalina.start(Catalina.java)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java)
> at org.apache.catalina.startup.Catalina.process(Catalina.java)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
>
>





> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Again: configuring a DB connection pooling for Oracle on Tomcat4

2001-12-08 Thread Amine AMAR

Hi all,

I have this issue open for a while but no clue :(
I'm just resending it in case someone did not already read it.

I need to use a database connection pooling for Oracle 817 with tomcat 4. I made all 
the configuration described in the documentation, but it still does not work.

I went thru the docs again and understood that tomcat 4 can use only tyrex DBs thru 
default configuration, and that i need to write my own factory to have a JDBC 
connection pool with tomcat 4.

I have two questions:
- did I understand correctly the docs?
- if it's the case, Can any one point me to how to do it (I have already read the 
example and explanations in tomcat docs).?

thank's a lot
Amine




Re: somebody trying hack me, what they really wanted?

2001-12-14 Thread Amine AMAR

I'm on two different servers
- Original Message - 
From: "E B" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 14, 2001 9:28 AM
Subject: Re: somebody trying hack me, what they really wanted?


> just for statistics, how many of you run tomcat
> directly without apache/iis, with your machine
> being on the internet.
> 
> All the responses for this thread indicate they
> do so. Be careful, I know of one machine which
> was compromised and which had tomcat on 80.
> although I am not sure that hack was through
> tomcat.
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




JNDI resource for connection pooling

2001-12-17 Thread Amine AMAR

Hi all,

I have a problem, please can anyone help?

I'm trying to create an Oracle pooled connection as a JNDI resource. 
I made the required configuration: 
WEB-INF\web.xml file:


  jdbc/toto
  oracle.jdbc.pool.OracleConnectionPoolDataSource
  Container



%TOMCAT_HOME%\conf\server.xml

 
  
   
user
tutu
   
   
password
tutu
   
   
url
jdbc:oracle:thin:@host:port:db

   


When I register the resource from a program, everything works fine, when I try to 
register the pooled connection thru JNDI I get the following error:
javax.naming.NamingException: Cannot create resource instance

the list bindings and related methods give the following:
toto: org.apache.naming.ResourceRef: Reference Class Name: 
oracle.jdbc.pool.OracleConnectionPoolDataSource
Type: scope
Content: Shareable
Type: auth
Content: Container
Type: user
Content: tutu
Type: url
Content: jdbc:oracle:thin:@host:port:db
Type: password
Content: tutu

Does anybody have a clue?

PS: sorry for my long message, I've been working on this for quite a while now :)

Amine




Re: JNDI resource for connection pooling

2001-12-19 Thread Amine AMAR

Hi Rich,

I still have no clean working solution.

for the server.xml stuff, I have no clue why we should put config there. The docs says 
so, so I did give it a try. I have a
workaround for my problem which is to write the registration in a stand alone class 
with the init() method registring the connection
pooling class in JNDI. and have this class loaded at tomcat startup. the class works 
fine. I'm working on making it load at startup.
I'll keep you posted when it works.

Regards,

Amine



- Original Message -
From: "Rich Baldwin" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Amine AMAR" 
<[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 2:11 PM
Subject: Re: JNDI resource for connection pooling


> Amine
>
> Been playing around w/ the same thing as you.  Have you figured it out yet?  I
> am a bit baffled by the role of setting the context in server.xml.   Without making
> any changes to server.xml, I downloaded and installed poolman and can run the
> database client, querying any of my oracle tables.  However in my servlets, I keep
> getting a error when attempting to connect: res-ref-name is not bound in this 
>context.
> This all worked fine under tomcat 3.2.  Why do I have to define a context in 
>server.xml 4.0
> and I didn't in server.xml 3.2?  Poolman seems to work fine w/o one.  Anybody got an 
>anwser?
>
> Thanks, Rich
>
> Amine AMAR wrote:
>
> > Hi all,
> >
> > I have a problem, please can anyone help?
> >
> > I'm trying to create an Oracle pooled connection as a JNDI resource.
> > I made the required configuration:
> > WEB-INF\web.xml file:
> > 
> > 
> >   jdbc/toto
> >   oracle.jdbc.pool.OracleConnectionPoolDataSource
> >   Container
> > 
> > 
> >
> > %TOMCAT_HOME%\conf\server.xml
> > 
> >  type="oracle.jdbc.pool.OracleConnectionPoolDataSource"/>
> >   
> >
> > user
> > tutu
> >
> >
> > password
> > tutu
> >
> >
> > url
> > jdbc:oracle:thin:@host:port:db
> >
> >   
> > 
> >
> > When I register the resource from a program, everything works fine, when I try to 
>register the pooled connection thru JNDI I get
the following error:
> > javax.naming.NamingException: Cannot create resource instance
> >
> > the list bindings and related methods give the following:
> > toto: org.apache.naming.ResourceRef: Reference Class Name: 
>oracle.jdbc.pool.OracleConnectionPoolDataSource
> > Type: scope
> > Content: Shareable
> > Type: auth
> > Content: Container
> > Type: user
> > Content: tutu
> > Type: url
> > Content: jdbc:oracle:thin:@host:port:db
> > Type: password
> > Content: tutu
> >
> > Does anybody have a clue?
> >
> > PS: sorry for my long message, I've been working on this for quite a while now :)
> >
> > Amine
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: JNDI resource for connection pooling

2001-12-22 Thread Amine AMAR

Hi,
Sorry for my late answer, I was out of the office.

The workarround is writing a class that registers the connection pool in the initial 
context:
Context ic = new InitialContext();
OracleConnectionPoolDataSource cpds = new OracleConnectionPoolDataSource();
ic.rebind("toto", cpds);

then configure it to be started automatically in the application web.xml:

myConnexionPool
ConnexionPoolClass
1


then call it from your program:
try {
Context ic = new InitialContext();

  OracleConnectionPoolDataSource cpds = 
(OracleConnectionPoolDataSource)ic.lookup("toto");
  pooledConnection = cpds.getPooledConnection();
}
catch(Exception e) {
 System.out.println(e) ;
}
 try {
 connection = pooledConnection.getConnection();
   statement = connection.createStatement();
} catch (SQLException se) {
  System.out.println("SQL Exception: "+ se);
}

this works fine ;-)

Amine

- Original Message -
From: "Niclas Rothman" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 4:42 PM
Subject: SV: JNDI resource for connection pooling


> Amin!
>
> I´ve experienced the same problem as you but I´m trying with a MS Sql
> Server.
> Could you maybe send me or the list the code for the workaround?
>
>
> Niclas
>
>
> -Oprindelig meddelelse-
> Fra: Amine AMAR [mailto:[EMAIL PROTECTED]]
> Sendt: 19. december 2001 17:50
> Til: Tomcat Users List
> Emne: Re: JNDI resource for connection pooling
>
>
> Hi Rich,
>
> I still have no clean working solution.
>
> for the server.xml stuff, I have no clue why we should put config there. The
> docs says so, so I did give it a try. I have a
> workaround for my problem which is to write the registration in a stand
> alone class with the init() method registring the connection
> pooling class in JNDI. and have this class loaded at tomcat startup. the
> class works fine. I'm working on making it load at startup.
> I'll keep you posted when it works.
>
> Regards,
>
> Amine
>
>
>
> - Original Message -
> From: "Rich Baldwin" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Amine AMAR"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 19, 2001 2:11 PM
> Subject: Re: JNDI resource for connection pooling
>
>
> > Amine
> >
> > Been playing around w/ the same thing as you.  Have you figured it out
> yet?  I
> > am a bit baffled by the role of setting the context in server.xml.
> Without making
> > any changes to server.xml, I downloaded and installed poolman and can run
> the
> > database client, querying any of my oracle tables.  However in my
> servlets, I keep
> > getting a error when attempting to connect: res-ref-name is not bound in
> this context.
> > This all worked fine under tomcat 3.2.  Why do I have to define a context
> in server.xml 4.0
> > and I didn't in server.xml 3.2?  Poolman seems to work fine w/o one.
> Anybody got an anwser?
> >
> > Thanks, Rich
> >
> > Amine AMAR wrote:
> >
> > > Hi all,
> > >
> > > I have a problem, please can anyone help?
> > >
> > > I'm trying to create an Oracle pooled connection as a JNDI resource.
> > > I made the required configuration:
> > > WEB-INF\web.xml file:
> > > 
> > > 
> > >   jdbc/toto
> > >   oracle.jdbc.pool.OracleConnectionPoolDataSource
> > >   Container
> > > 
> > > 
> > >
> > > %TOMCAT_HOME%\conf\server.xml
> > > 
> > >   type="oracle.jdbc.pool.OracleConnectionPoolDataSource"/>
> > >   
> > >
> > > user
> > > tutu
> > >
> > >
> > > password
> > > tutu
> > >
> > >
> > > url
> > > jdbc:oracle:thin:@host:port:db
> > >
> > >   
> > > 
> > >
> > > When I register the resource from a program, everything works fine, when
> I try to register the pooled connection thru JNDI I get
> the following error:
> > > javax.naming.NamingException: Cannot create resource instance
> > >
> > > the list bindings and related methods give the following:
> > > toto: org.apache.naming.ResourceRef: Reference Class Name:
> oracle.jdbc.pool.OracleConnectionPoolDataSource
> > > Type: scope
> > > Content: Shareable
> > > Type: auth
> > > Content: Container
> > > Type: user
> > > Content: tutu
> > > Type: url
> > > Content: jdbc:oracle:thin:@host:port:db
> > > Type: password
> > > Content: tutu
> > >
> > > Does anybody have a clue?
> > >
> > > PS: sorry for my long message, I've been working on this for quite a
> while now :)
> > >
> > > Amine
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: JNDI resource for connection pooling

2001-12-22 Thread Amine AMAR

Hi,
Sorry for my late answer, I was out of the office.

The workarround is writing a class that registers the connection pool in the initial 
context:
Context ic = new InitialContext();
OracleConnectionPoolDataSource cpds = new OracleConnectionPoolDataSource();
ic.rebind("toto", cpds);

then configure it to be started automatically in the application web.xml:

myConnexionPool
ConnexionPoolClass
1


then call it from your program:
try {
Context ic = new InitialContext();

  OracleConnectionPoolDataSource cpds = 
(OracleConnectionPoolDataSource)ic.lookup("toto");
  pooledConnection = cpds.getPooledConnection();
}
catch(Exception e) {
 System.out.println(e) ;
}
 try {
 connection = pooledConnection.getConnection();
   statement = connection.createStatement();
} catch (SQLException se) {
  System.out.println("SQL Exception: "+ se);
}

this works fine ;-)

Amine

- Original Message -
From: "Niclas Rothman" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 4:42 PM
Subject: SV: JNDI resource for connection pooling


> Amin!
>
> I´ve experienced the same problem as you but I´m trying with a MS Sql
> Server.
> Could you maybe send me or the list the code for the workaround?
>
>
> Niclas
>
>
> -Oprindelig meddelelse-
> Fra: Amine AMAR [mailto:[EMAIL PROTECTED]]
> Sendt: 19. december 2001 17:50
> Til: Tomcat Users List
> Emne: Re: JNDI resource for connection pooling
>
>
> Hi Rich,
>
> I still have no clean working solution.
>
> for the server.xml stuff, I have no clue why we should put config there. The
> docs says so, so I did give it a try. I have a
> workaround for my problem which is to write the registration in a stand
> alone class with the init() method registring the connection
> pooling class in JNDI. and have this class loaded at tomcat startup. the
> class works fine. I'm working on making it load at startup.
> I'll keep you posted when it works.
>
> Regards,
>
> Amine
>
>
>
> - Original Message -
> From: "Rich Baldwin" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Amine AMAR"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 19, 2001 2:11 PM
> Subject: Re: JNDI resource for connection pooling
>
>
> > Amine
> >
> > Been playing around w/ the same thing as you.  Have you figured it out
> yet?  I
> > am a bit baffled by the role of setting the context in server.xml.
> Without making
> > any changes to server.xml, I downloaded and installed poolman and can run
> the
> > database client, querying any of my oracle tables.  However in my
> servlets, I keep
> > getting a error when attempting to connect: res-ref-name is not bound in
> this context.
> > This all worked fine under tomcat 3.2.  Why do I have to define a context
> in server.xml 4.0
> > and I didn't in server.xml 3.2?  Poolman seems to work fine w/o one.
> Anybody got an anwser?
> >
> > Thanks, Rich
> >
> > Amine AMAR wrote:
> >
> > > Hi all,
> > >
> > > I have a problem, please can anyone help?
> > >
> > > I'm trying to create an Oracle pooled connection as a JNDI resource.
> > > I made the required configuration:
> > > WEB-INF\web.xml file:
> > > 
> > > 
> > >   jdbc/toto
> > >   oracle.jdbc.pool.OracleConnectionPoolDataSource
> > >   Container
> > > 
> > > 
> > >
> > > %TOMCAT_HOME%\conf\server.xml
> > > 
> > >   type="oracle.jdbc.pool.OracleConnectionPoolDataSource"/>
> > >   
> > >
> > > user
> > > tutu
> > >
> > >
> > > password
> > > tutu
> > >
> > >
> > > url
> > > jdbc:oracle:thin:@host:port:db
> > >
> > >   
> > > 
> > >
> > > When I register the resource from a program, everything works fine, when
> I try to register the pooled connection thru JNDI I get
> the following error:
> > > javax.naming.NamingException: Cannot create resource instance
> > >
> > > the list bindings and related methods give the following:
> > > toto: org.apache.naming.ResourceRef: Reference Class Name:
> oracle.jdbc.pool.OracleConnectionPoolDataSource
> > > Type: scope
> > > Content: Shareable
> > > Type: auth
> > > Content: Container
> > > Type: user
> > > Content: tutu
> > > Type: url
> > > Content: jdbc:oracle:thin:@host:port:db
> > > Type: password
> > > Content: tutu
> > >
> > > Does anybody have a clue?
> > >
> > > PS: sorry for my long message, I've been working on this for quite a
> while now :)
> > >
> > > Amine
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Newbie, JNDI Error - Help Required

2001-12-24 Thread Amine AMAR

hi Rudi,

Your pb can have 2 sources:
- you are using JDK1.2, and this one does not ship JNDI with it. You need to download 
it from Sun and add it to your classpath.
- you have the JNDI jar but it is not in your classpath. you can put it in 
%tomcat_home%\common\lib

I hope this answers your question

Amine


- Original Message - 
From: "Rudi Doku" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 24, 2001 6:24 AM
Subject: Newbie, JNDI Error - Help Required


> Hello,
> 
> Can anyone please help me resolve this error message?
> I have attached the class (ConnectionPool.java) which causes this exception 
> to be raised.
> 
> Kind Regards,
> 
> Rudi
> 
> 
> Error:init JNDI  javax.naming.NoInitialContextException: Cannot instantiate 
> class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is 
> java.lang.ClassNotFoundException: 
> com.sun.jndi.fscontext.RefFSContextFactory]
> Error:Register Datasources  java.lang.NullPointerException
> JNDI Error:javax.naming.NoInitialContextException: Cannot instantiate class: 
> com.sun.jndi.fscontext.RefFSContextFactory [Root exception is 
> java.lang.ClassNotFoundException: 
> com.sun.jndi.fscontext.RefFSContextFactory]
> java.lang.IllegalStateException: pooled datasource has not been initialized
> at 
> com.docutech.viewer.db.ConnectionPool.getConnection(ConnectionPool.java:129)
> at com.docutech.viewer.db.Test.main(Test.java:28)
> Exception in thread "main"
> 
> 
> 
> 
> 
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 





> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Server side reports printing

2002-03-27 Thread Amine AMAR

Hi all,

I have a tomcat+struts based application and I need to have reports printed (orders, 
bills, ...) on remote printers configured on the server (my application controles 
which printers to use).
I also need to do some batch printing.

Do any of you have an idea or experience that he wants to share?

Thank's for your help

Amine





Re: can Tomcat call classes in JARs?

2002-03-27 Thread Amine AMAR

can Tomcat call classes in JARs?You need to put your jar file in the WEB-INF/lib folder

Amine
  - Original Message - 
  From: Carlos Martins 
  To: Tomcat (E-mail) 
  Sent: Wednesday, March 27, 2002 10:01 AM
  Subject: can Tomcat call classes in JARs?


  Hello, 

  Is it possible to have tomcat call servlets that are included in a jar file rather 
than simple class files located in the WEB-INF/classes folder?

  I'm trying this, by placing the jar file with the classes in that folder, but tomcat 
does not see to be able to find them...

  Is there any special configuration that i'm missing? 

  Thanks. 
  Carlos 



--


  --
  To unsubscribe:   
  For additional commands: 
  Troubles with the list: 



JAAS support in Tomcat 4

2001-12-27 Thread Amine AMAR

Hi all,

Does Tomcat 4 have support for JAAS?
I know TC is not a full J2EE Server, but I'm just wondering.

If there is, no support in TC for that do you know of any other security framework 
supported in TC (especially compatible with Struts)?

Thanks all

Amine



Re: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver..

2001-12-31 Thread Amine AMAR

Hi Sachin

try unzipping classes12.zip and then jar it again (jar cvf ...) and put the 
classes12.jar in your application\WEB-INF\lib or
tomcat\lib directories.

Amine
- Original Message -
From: "Sachin Tyagi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 31, 2001 9:22 AM
Subject: Tomcat4.0:-java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver..


> hi all,
> while I am running my web application with Tomcat4.0(Catalina)  in accessing
> database queries.It is showing java.lang.ClassNotFoundException:
> oracle.jdbc.driver.OracleDriver..
> I am using classes12.zip driver ..I have already set classpath for the
> same..And with Tomcat3.2 my application is running well. Only with Tomcat4.0
> getting this problem.I am trying to upgrade for Tomcat4.0.
> In this case any thing I have to edit or set properties in server.xml. or
> some where else. Or this relate with Realms.
> If any one having idea about this plz pass this.
>
> Regards
> Sachin
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: reloadable=true in 4.01

2002-01-04 Thread Amine AMAR

Hi,
It's working :)
The only thing you should check is that your classes are in the directory 
"myApp/WEB-INF/classes" this is the only place TC looks
for changed files.

Amine
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 4:25 PM
Subject: reloadable=true in 4.01


> Hi guys,
>
> After looking at the "examples" context in server.xml and reading this, I
> have tried the following config.
>
>  reloadable="true" />
>
> This is supposed to reload a servlet if the file has changed.  Currently,
> the page never loads when I change the class file after Tomcat has started
> and loaded the first version of the class.  When I first tried to get this
> going a week ago or so, I got a null pointer exception.  Although, I don't
> have the actual exception to paste at this time unfortunately.  This is
> with Tomcat 4.01.  Does anyone have this working?
>
> I did not see this question in the archives of this mailing list so I
> assume it works for most people since this is probably the first thing
> anyone does when setting up Tomcat during the development phase. :-)
>
> Thanks,
> __
> Joseph Chandler
> Software Engineer
> Franke Holding USA
> 305 Tech Park Drive
> La Vergne, TN  37086
> USA
> Switchboard: +1-615-287-8243
> Fax: +1-615-287-8343
> mailto:[EMAIL PROTECTED]
> http://www.franke.com
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




off the track: is there any bug tracking system in Java?

2002-01-04 Thread Amine AMAR

Hi all,

Sorry for this off track question. Do you know any good open source bug tracking 
system written in Java?

Thank's for your help

Amine



Re: How stable is Tomcat on Windows ?

2002-01-05 Thread Amine AMAR

Hi,
We have been using TC on a Win2k Prof. for a year now for a couple of applications and 
it works fine.

You just need to restart the server from time to time (~once a quarter) to free unused 
memory by windows.

We are quite happy with it.

Amine

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 9:32 PM
Subject: How stable is Tomcat on Windows ?


> Hi,
> Anyone who is using Tomcat on Windows 9x/NT/2000 for JSPs please let
> me know how stable you have found it to be.
> 
> Thanks,
> Sumit.
> The information contained in this e-mail and any files transmitted with it
> may be privileged and confidential.  If the reader of this message,
> regardless of the address or routing, is not an intended recipient, you are
> hereby notified that you have received this transmittal in error and any
> review, use, distribution, dissemination or copying is strictly prohibited.
> If you have received this message in error, please delete this e-mail and
> all files transmitted with it from your system and notify the sender by
> reply e-mail or by calling 1-888-338-6076. 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Newbie question

2002-01-05 Thread Amine AMAR

hi,

if you need not have external access to your secretinfo directory, put it in the 
WEB-INF directory. There, the webserver will not
service it.

Amine
- Original Message -
From: "Manu Kumar" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Saturday, January 05, 2002 9:49 AM
Subject: Newbie question


> Hello All,
> How can i prevent the listing of contents of some specific directories in my
> webapp.
> For e.g say i have a directory called "SecretInformation" which is
> only for the working of my webapp , i want to restrict the viewing of the
> contents of this directory from a browser.
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Amine AMAR

Hi,

Are your classes in a package or not?
If they are not then you cannot access them because TC will look for them in his 
default package

Amine
- Original Message - 
From: "Chetna Bhatt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 13, 2002 4:42 PM
Subject: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON


> Hi,
> I'm using tomcat4 on windows NT platform. The classpath is set as
> follows:
> JAVA_HOME: D:\jdk1.3
> CATILINA_HOME: E:\jakarta-tomcat-4.0.1
> 
> I'm having trouble accessing class files stored in the web-inf/classes
> folder.
> In the server.xml file, i've configured a context path to a folder which
> 
> is under webapps.
> 
> 
> And the directory structure is:
> webapps/chetna/web-inf/classes/
> and the file name is Test.java
> 
> and the Jsp resides in :
> webapps/chetna/Login.jsp
> 
> in the Login.jsp file i'm trying to instantiating the Test bean and
> calling its methods.
> 
> It gives me the following error::
> 
> Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
> 
> 
> 
> type : Exception report
> 
> message: Internal Server Error
> 
> description: The server encountered an internal error (Internal Server
> Error) that prevented it from fulfilling this request.
> 
> exception :
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
> 
> Generated servlet error:
> E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:90:
> 
> Class org.apache.jsp.Test not found.
> Test monitor1 = null;
> ^
> 
> 
> An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
> 
> Generated servlet error:
> E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:93:
> 
> Class org.apache.jsp.Test not found.
> monitor1= (Test)
>^
> 
> 
> An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
> 
> Generated servlet error:
> E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:98:
> 
> Class org.apache.jsp.Test not found.
> monitor1 = (Test)
> java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Test");
> ^
> 3 errors
> 
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
>  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
>  at
> 
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
> 
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
> 
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> 
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> 
>  at
> 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> 
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 
>  at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 
>  at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
> 
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
>  at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 
>  at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
> 
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext

Re: TOMCAT 4.0 and Ant 1.4?

2002-01-13 Thread Amine AMAR

No
Amine
- Original Message - 
From: "Chetna Bhatt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, January 13, 2002 6:22 PM
Subject: TOMCAT 4.0 and Ant 1.4?


> hi,
> was just wondering if tomcat4.0 require installation of Ant 1.4?
> 
> Thanks for the tip in advance.
> regards
> chetna
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




is there a limitation in the size of the http stream???

2002-01-18 Thread Amine AMAR

Hi all,

I have a weird problem:
I'm using TC4 with struts in quite a big application (heavy pages). I have a problem 
with a page which loads the first time (size=11000 characters), and after validation 
thru the controler (MVC model) the page just hangs all the time at arround 7800 
characters. When I delete some items(fields, poplists, ..) , other fields apear.

I'm wondering: is there a limitation at some point on the size of the steam of http 
requests or am I missing something ?

Any help would be highly appreciated,

Amine



Redirecting error pages

2002-01-29 Thread Amine AMAR

Hi all,

I have the following lines in my web.xml:
  
500/html/defaultError.htm
  
  
404/html/defaultError.htm
  

The 404 errors get correctly redirected to the specified page but not the 5xx errors.

Is there some other way to do it?

Thank's

Amine



Re: Alternate Page for HTTP Status 403?

2002-01-30 Thread Amine AMAR

Hi Reto,
Does this work with 5xx errors?
I have posted a couple of days ago a question on that, and still no answer.
the config works for 4xx errors (in my case) but not for 5xx, Any clue?

Thank's

Amine

- Original Message -
From: "Reto Badertscher" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 10:39 AM
Subject: AW: Alternate Page for HTTP Status 403?


> I have defined this in the applications web.xml for Error 400. The same
> should work for Errorcode 403
>
> Reto
> 
>400
>errorPage.jsp 
> 
>
> -Ursprüngliche Nachricht-
> Von: Cavan Morris [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 30. Januar 2002 01:47
> An: Tomcat Users List
> Betreff: Alternate Page for HTTP Status 403?
>
>
> Hey everybody,
> I'd like to be able to have tomcat respond with a custom page instead of
> just returning the Tomcat HTTP Status 403 error page.  Does anyone know if
> this is possible?  Does anyone have any ideas on this?
> I'm using Tomcat 4.0.1.
>
> Thanks for you help.
> -Cavan Morris
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Pooled connection JNDI DataSource?

2002-02-19 Thread Amine AMAR

Hi,
I had the same problem and I found no clean working solution. So I just turned to open 
source connection pooling packages. You have
the Poolman pooling package that's working quite well and has a lot of nice 
configurable functionnalities.

Amine

- Original Message -
From: "Mark" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 7:40 PM
Subject: Pooled connection JNDI DataSource?


> Has anyone successfully implemented a JNDI pooled connection DataSource
> using Oracle/Tomcat 4.0.1?  I'm able to get a straight DataSource working
> using javax.sql.DataSource as the resource type and
> oracle.jdbc.OracleDriver as the driver class, but not a pooled datasource
> (I've tried a mess of different combinations including
> oracle.jdbc.pool.OracleConnectionPoolDataSource to no avail).
>
> I've spent gobs of time spent trying to research this on the web and
> surprisingly came up empty.  If anyone has done this, I'd really appreciate
> seeing your your web.xml and server.xml settings.
>
> Mark
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




classes visibility in the WEB-INF dir

2002-02-19 Thread Amine AMAR

Hi all,

I've been using TC for a couple of years, and I have a fancy little question :)

I have two directories (com and dir) in the WEB-INF\classes directory of an 
application context. The classes in dir are not visible (noClassDefFoundError).
When I put the path of my WEB-INF\classes in the startup classpath of catalina.bat, 
the classes are visible.

Does anyone ave a clue why?

PS: I have already double checked all spelling of directories and hierarchies for 
errors.

Thank's all

Amine



Re: classes visibility in the WEB-INF dir

2002-02-19 Thread Amine AMAR

Thank's for your reply, but my web application has no particular definition. The stack 
trace is as follows (root cause):

java.lang.NoClassDefFoundError: kitabe/SearchUtilities
at kitabe.dal.home.BookHome.rechercheMulticriteres(BookHome.java:485)
at kitabe.bl.Catalogue.rechercheMulticriteres(Catalogue.java:231)
at org.apache.jsp.results$jsp._jspService(results$jsp.java:160)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

If you can just have a look at it and tell me if you see anything wrong. The logs 
contain just the same info.

Thank's again

Amine

- Original Message - 
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 9:01 PM
Subject: RE: classes visibility in the WEB-INF dir


> This error implies that a class that needs to "see" your
> "com" and/or "dir" classes is being loaded in a parent of
> the web application's class loader.  This "parent"
> classloader is at or between the "classpath" classloader
> and the web application classloader.  The stacktrace
> should give you a clue as to who this class is.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 19, 2002 3:56 PM
> > To: Tomcat Users List
> > Subject: classes visibility in the WEB-INF dir
> > 
> > 
> > Hi all,
> > 
> > I've been using TC for a couple of years, and I have a fancy 
> > little question :)
> > 
> > I have two directories (com and dir) in the WEB-INF\classes 
> > directory of an application context. The classes in dir are 
> > not visible (noClassDefFoundError).
> > When I put the path of my WEB-INF\classes in the startup 
> > classpath of catalina.bat, the classes are visible.
> > 
> > Does anyone ave a clue why?
> > 
> > PS: I have already double checked all spelling of directories 
> > and hierarchies for errors.
> > 
> > Thank's all
> > 
> > Amine
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: classes visibility in the WEB-INF dir

2002-02-20 Thread Amine AMAR
Utilities
 at kitabe.dal.home.AuthorHome.findByName(AuthorHome.java:60)
 at kitabe.bl.Catalogue.searchAuthorBooks(Catalogue.java:250)
 at kitabe.bl.Catalogue.searchByTitleAndAuthor(Catalogue.java:389)
 at org.apache.jsp.result$jsp._jspService(result$jsp.java:147)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
 at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
 at java.lang.Thread.run(Thread.java:484)

-
Thank's for your help

Amine

- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 1:04 PM
Subject: RE: classes visibility in the WEB-INF dir


> The stack trace doesn't show any classes coming from your
> "com" or "dir" directories under WEB-INF/classes.  Is this
> the same problem?  Where are each of the "kitabe" classes
> located?
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 19, 2002 4:11 PM
> > To: Tomcat Users List
> > Subject: Re: classes visibility in the WEB-INF dir
> >
> >
> > Thank's for your reply, but my web application has no
> > particular definition. The stack trace is as follows (root cause):
> >
> > java.lang.NoClassDefFoundError: kitabe/SearchUtilities
> > at
> > kitabe.dal.home.BookHome.rechercheMulticriteres(BookHome.java:485)
> > at
> > kitabe.bl.Catalogue.rechercheMulticriteres(Catalogue.java:231)
> > at org.apache.jsp.results$jsp._jspService(results$jsp.java:160)
> > at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> > (JspServlet.java:202)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > .java:382)
> > at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> >

Re: classes visibility in the WEB-INF dir

2002-02-20 Thread Amine AMAR

Hi,

Yes, all kitabe classes are in /ketabe/WEB-INF/classes directory.
Line 60 in kitabe.dal.home.AuthorHome.findByName() contain only a call for the 
constructor of kitabe.SearchUtilities
(SearchUtilities su = new SearchUtilities();)

Regards,
Amine

- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 5:47 PM
Subject: RE: classes visibility in the WEB-INF dir


> Are all "kitabe" classes located in your /ketabe/WEB-INF/classes
> directory?  Also, to you know what the link is between what
> kitabe.dal.home.AuthorHome.findByName() is doing around line 60
> and kitabe.SearchUtilities?
>
> Cheers,
> Larry
>
>
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 20, 2002 11:34 AM
> > To: Tomcat Users List
> > Subject: Re: classes visibility in the WEB-INF dir
> >
> >
> > Hi,
> > Sorry for misleading you. my directories are kitabe and com.
> > The pb comes from the kitabe directory. the 'dir' was just for the
> > exemple.
> > here after the whole log file
> > -
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploying class
> > repositories to work directory
> > C:\jakarta-tomcat-4.0.1\work\localhost\ketabe
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > /WEB-INF/lib/classes12.jar to c:\www\ketabe\WEB-INF\lib\classes12.jar
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > /WEB-INF/lib/crimson.jar to c:\www\ketabe\WEB-INF\lib\crimson.jar
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > /WEB-INF/lib/log4j.jar to c:\www\ketabe\WEB-INF\lib\log4j.jar
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > /WEB-INF/lib/poolman.jar to c:\www\ketabe\WEB-INF\lib\poolman.jar
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > /WEB-INF/lib/xalan.jar to c:\www\ketabe\WEB-INF\lib\xalan.jar
> > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Reloading checks
> > are enabled for this Context
> > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding random
> > number generator class java.security.SecureRandom
> > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding of
> > random number generator has been completed
> > 2002-02-20 15:56:16 ContextConfig[/ketabe]: Added
> > certificates -> request attribute Valve
> > 2002-02-20 15:56:16 StandardWrapper[/ketabe:default]: Loading
> > container servlet default
> > 2002-02-20 15:56:16 default: init
> > 2002-02-20 15:56:16 StandardWrapper[/ketabe:invoker]: Loading
> > container servlet invoker
> > 2002-02-20 15:56:16 invoker: init
> > 2002-02-20 15:56:16 jsp: init
> > 2002-02-20 15:57:56 jsp: init
> > 2002-02-20 16:32:49 jsp: init
> > 2002-02-20 16:32:49 StandardWrapperValve[jsp]:
> > Servlet.service() for servlet jsp threw exception
> > javax.servlet.ServletException: kitabe/SearchUtilities
> >  at
> > org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > PageContextImpl.java:457)
> >  at org.apache.jsp.result$jsp._jspService(result$jsp.java:407)
> >  at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >  at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> > (JspServlet.java:202)
> >  at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > .java:382)
> >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >  at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(ApplicationFilterChain.java:247)
> >  at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterChain.java:193)
> >  at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.java:243)
> >  at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:566)
> >  at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:472)
> >  at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >  at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.java:201)
> >  at
> > org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> > ipeline.java:566)
> >  at
> > org.apache

Re: classes visibility in the WEB-INF dir

2002-02-21 Thread Amine AMAR

Hi,

it gives the following error trace:
java.lang.NoClassDefFoundError: kitabe/SearchUtilities
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:139)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:179)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:484)

I tried to do the same with other classes of the package kitabe.dal.bean and it works 
perfectly. It looks like it's not able to find
only the classes in the package kitabe.
Thank's again for your help
Regards,
- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 7:02 PM
Subject: RE: classes visibility in the WEB-INF dir


> Do you know if any bean or servlet in the ketabe web application
> successfully loads kitabe.SearchUtilities.  If you are not sure,
> you could try:
>
> <% kitabe.SearchUtilities su = new kitabe.SearchUtilities() %>
>
> on a test JSP page in ketabe and see if it compiles.
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 20, 2002 1:35 PM
> > To: Tomcat Users List
> > Subject: Re: classes visibility in the WEB-INF dir
> >
> >
> > Hi,
> >
> > Yes, all kitabe classes are in /ketabe/WEB-INF/classes directory.
> > Line 60 in kitabe.dal.home.AuthorHome.findByName() contain
> > only a call for the constructor of kitabe.SearchUtilities
> > (SearchUtilities su = new SearchUtilities();)
> >
> > Regards,
> > Amine
> >
> > - Original Message -
> > From: "Larry Isaacs" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'"

Re: classes visibility in the WEB-INF dir

2002-02-21 Thread Amine AMAR

Hi,
I created a new class in the kitabe package and it's visible (works with no problem). 
I tried also another class in the same packege
and it works fine. The problem lies only with the kitabe.SearchUtilities class. Is 
this a reserved word in some
techno/language/...???

Regards
Amine
- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 7:02 PM
Subject: RE: classes visibility in the WEB-INF dir


> Do you know if any bean or servlet in the ketabe web application
> successfully loads kitabe.SearchUtilities.  If you are not sure,
> you could try:
>
> <% kitabe.SearchUtilities su = new kitabe.SearchUtilities() %>
>
> on a test JSP page in ketabe and see if it compiles.
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 20, 2002 1:35 PM
> > To: Tomcat Users List
> > Subject: Re: classes visibility in the WEB-INF dir
> >
> >
> > Hi,
> >
> > Yes, all kitabe classes are in /ketabe/WEB-INF/classes directory.
> > Line 60 in kitabe.dal.home.AuthorHome.findByName() contain
> > only a call for the constructor of kitabe.SearchUtilities
> > (SearchUtilities su = new SearchUtilities();)
> >
> > Regards,
> > Amine
> >
> > - Original Message -
> > From: "Larry Isaacs" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 20, 2002 5:47 PM
> > Subject: RE: classes visibility in the WEB-INF dir
> >
> >
> > > Are all "kitabe" classes located in your /ketabe/WEB-INF/classes
> > > directory?  Also, to you know what the link is between what
> > > kitabe.dal.home.AuthorHome.findByName() is doing around line 60
> > > and kitabe.SearchUtilities?
> > >
> > > Cheers,
> > > Larry
> > >
> > >
> > > > -Original Message-
> > > > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, February 20, 2002 11:34 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: classes visibility in the WEB-INF dir
> > > >
> > > >
> > > > Hi,
> > > > Sorry for misleading you. my directories are kitabe and com.
> > > > The pb comes from the kitabe directory. the 'dir' was just for the
> > > > exemple.
> > > > here after the whole log file
> > > > -
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploying class
> > > > repositories to work directory
> > > > C:\jakarta-tomcat-4.0.1\work\localhost\ketabe
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/classes12.jar to
> > c:\www\ketabe\WEB-INF\lib\classes12.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/crimson.jar to c:\www\ketabe\WEB-INF\lib\crimson.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/log4j.jar to c:\www\ketabe\WEB-INF\lib\log4j.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/poolman.jar to c:\www\ketabe\WEB-INF\lib\poolman.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/xalan.jar to c:\www\ketabe\WEB-INF\lib\xalan.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Reloading checks
> > > > are enabled for this Context
> > > > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding random
> > > > number generator class java.security.SecureRandom
> > > > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding of
> > > > random number generator has been completed
> > > > 2002-02-20 15:56:16 ContextConfig[/ketabe]: Added
> > > > certificates -> request attribute Valve
> > > > 2002-02-20 15:56:16 StandardWrapper[/ketabe:default]: Loading
> > > > container servlet default
> > > > 2002-02-20 15:56:16 default: init
> > > > 2002-02-20 15:56:16 StandardWrapper[/ketabe:invoker]: Loading
> > > > container servlet invoker
> > > > 2002-02-20 15:56:16 invoker: init
> > > > 2002-02-20 15:56:16 jsp: init
> > > > 2002-02-20 15:57:56 jsp: init
> > > > 2002-02-20 16:32:49 jsp: init
> > &g

Re: classes visibility in the WEB-INF dir ----> SOLVED

2002-02-21 Thread Amine AMAR

Hi,
 I tried to jar the classes directory and reload TC, but I have the same behavior.

I also tried creating a class kitabe.SearchUtilities2 with exacty the same code as 
SearchUtilities (using save as). SearchUtilities2
works fine, but not SearchUtilities.

I then tried to rename my new SearchUtilities2 to SearchUtilities ---> THEN IT DID 
WORK.

This is very weard :?). I used to delete all .class files and recompile to be sure 
that the files get recompiled, and that there is
no problem related to that. If anyone of you have seen this behavior, please let us 
know.

Thank's all for your help

Amine

- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 7:02 PM
Subject: RE: classes visibility in the WEB-INF dir


> Do you know if any bean or servlet in the ketabe web application
> successfully loads kitabe.SearchUtilities.  If you are not sure,
> you could try:
>
> <% kitabe.SearchUtilities su = new kitabe.SearchUtilities() %>
>
> on a test JSP page in ketabe and see if it compiles.
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 20, 2002 1:35 PM
> > To: Tomcat Users List
> > Subject: Re: classes visibility in the WEB-INF dir
> >
> >
> > Hi,
> >
> > Yes, all kitabe classes are in /ketabe/WEB-INF/classes directory.
> > Line 60 in kitabe.dal.home.AuthorHome.findByName() contain
> > only a call for the constructor of kitabe.SearchUtilities
> > (SearchUtilities su = new SearchUtilities();)
> >
> > Regards,
> > Amine
> >
> > - Original Message -
> > From: "Larry Isaacs" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 20, 2002 5:47 PM
> > Subject: RE: classes visibility in the WEB-INF dir
> >
> >
> > > Are all "kitabe" classes located in your /ketabe/WEB-INF/classes
> > > directory?  Also, to you know what the link is between what
> > > kitabe.dal.home.AuthorHome.findByName() is doing around line 60
> > > and kitabe.SearchUtilities?
> > >
> > > Cheers,
> > > Larry
> > >
> > >
> > > > -Original Message-
> > > > From: Amine AMAR [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, February 20, 2002 11:34 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: classes visibility in the WEB-INF dir
> > > >
> > > >
> > > > Hi,
> > > > Sorry for misleading you. my directories are kitabe and com.
> > > > The pb comes from the kitabe directory. the 'dir' was just for the
> > > > exemple.
> > > > here after the whole log file
> > > > -
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploying class
> > > > repositories to work directory
> > > > C:\jakarta-tomcat-4.0.1\work\localhost\ketabe
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/classes12.jar to
> > c:\www\ketabe\WEB-INF\lib\classes12.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/crimson.jar to c:\www\ketabe\WEB-INF\lib\crimson.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/log4j.jar to c:\www\ketabe\WEB-INF\lib\log4j.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/poolman.jar to c:\www\ketabe\WEB-INF\lib\poolman.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Deploy JAR
> > > > /WEB-INF/lib/xalan.jar to c:\www\ketabe\WEB-INF\lib\xalan.jar
> > > > 2002-02-20 15:56:15 WebappLoader[/ketabe]: Reloading checks
> > > > are enabled for this Context
> > > > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding random
> > > > number generator class java.security.SecureRandom
> > > > 2002-02-20 15:56:15 StandardManager[/ketabe]: Seeding of
> > > > random number generator has been completed
> > > > 2002-02-20 15:56:16 ContextConfig[/ketabe]: Added
> > > > certificates -> request attribute Valve
> > > > 2002-02-20 15:56:16 StandardWrapper[/ketabe:default]: Loading
> > > > container servlet default
> > > > 2002-02-20 15:56:16 default: init
> > > > 2002-02-20 15:56:16 StandardWrapper[/ketabe:inv

Re: file size limit

2002-02-27 Thread Amine AMAR

Hi,
Can you please give more info on the components you are using? We had a
similar problem with struts and struts validator. The problem was due to an
error in the configuration file of struts validator. There was no clue in
any log file.

Amine

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 5:13 PM
Subject: Re: file size limit


>
>
> On Wed, 27 Feb 2002, Mehmet Ugur Kuzu (LinkPlus) wrote:
>
> > Date: Wed, 27 Feb 2002 15:32:04 +0200
> > From: "Mehmet Ugur Kuzu (LinkPlus)" <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> > Subject: file size limit
> >
> > Hi,
> > Is there any file size limit for jsp files in Tomcat,
> > I am using JRE 1.3.01 and Tomcat 4.0.2 ,
> > and Tomcat does not produce jsp files more then 35 kb,
> > I checked and i saw that it produce ".java" files true but
> > somehow it does not send all html codes to client.
> > sincerely,
> > Ugur
> >
>
> There is no size limit on the generated source code imposed by Tomcat
> (although there might be some upper limit that javac can handle).  The
> size limit that matters is the generated code, which all has to fit into a
> single class.  I would suggest looking at the log files produced by Tomcat
> to see if your page might have thrown an exception part way through its
> execution.
>
> Craig
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: How to apply HTTPS in JSP

2002-03-01 Thread Amine AMAR

Hi,
You configure SSL with TC4 in the server.xml file. the configuration is very
simple. The steps can be found at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html

Amine,

- Original Message -
From: "Wiwi Wiwi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 9:16 AM
Subject: How to apply HTTPS in JSP


> Hi all,
>If I wanna apply SSL (HTTPS) on JSP page, what are the steps to apply
it.
> I heard that somebody say using Apache SSL, however, I'm currently using
> Tomcat 4.0.1 only. What should I do?
>By the way, can the Tomcat 4.0.2 integrate with JDK 1.4? Your advice is
> highly appreciated. Thanks in advance.
>
> Best regards,
> Pat
>
> _
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




off subject: PROLOG like Java based system

2002-03-11 Thread Amine AMAR

Hi all,

Do you know of any open source inference engine developped using JAVA? Something like 
PROLOG.

Any hints would be very apreciated.

I apologize for this off topic question :)

Amine