SQL*Server JDBC Driver

2001-12-06 Thread Timlin, Bob

Hello, I am trying to get the SQL*Server driver to work with Tomcat 4.0.
The driver I am using is Opta2000.jar.  

The message I am getting is Error Loading Driver:
java.lang.ClassNotFoundException: com.inet.tds.TdsDriver 

I believe this is because I am not putting the driver in the right directory
under Tomcat, but cannot figure out where I should put it.  Can somebody
tell me where it belongs?

Thanks in advance.

Bob.


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




RE: SQL*Server JDBC Driver

2001-12-06 Thread Timlin, Bob

Thankyou, that worked!

> -Original Message-
> From: Miao, Franco CAWS:EX [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 10:44 AM
> To:   'Tomcat Users List'
> Subject:  RE: SQL*Server JDBC Driver
> 
> go to MS download SQL JDBC driver, that one is the best for SQL server
> 
> put .jar files in \common\lib\
> 
> Franco 
> 
> 
> 
> -Original Message-
> From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 10:41 AM
> To: '[EMAIL PROTECTED]'
> Subject: SQL*Server JDBC Driver
> 
> 
> Hello, I am trying to get the SQL*Server driver to work with Tomcat 4.0.
> The driver I am using is Opta2000.jar.  
> 
> The message I am getting is Error Loading Driver:
> java.lang.ClassNotFoundException: com.inet.tds.TdsDriver 
> 
> I believe this is because I am not putting the driver in the right
> directory
> under Tomcat, but cannot figure out where I should put it.  Can somebody
> tell me where it belongs?
> 
> Thanks in advance.
> 
> Bob.
> 
> 
> --
> 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]>




Bean Class violates loader constraints

2001-12-10 Thread Timlin, Bob

Anyone have any Ideas.  My employee class is listed below.

Thanks in Advance.

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 

javax.servlet.ServletException: Class Employee violates loader 
constraints

/**
* Class Name:   Employee
* Description:  Class with Employee specific information such as 
Employee ID, Name, Department.
*   Also setters and getters for each of the above.
*
* Assignment#   1
* @author Bob Timlin
* @version 1.0
*/

//package hrclient;

//import java.lang.*;

public class Employee implements java.io.Serializable {
  private int employeeID;
  private int deptNo;
  private String firstName;
  private String lastName;

  /** Employee
   *  Default Constructor that will initialize EmployeeID to 0.
   *  @author Bob Timlin
  */
  public Employee() {
  }

  public Employee(int ID) {
  employeeID = ID;
  }

  public Employee(int ID, String ln, String fn, int dno) {
  employeeID = ID;
  lastName = ln;
  firstName = fn;
  deptNo = dno;
  }

  /** getEmployeeID
   *  Used to retrieve private data-member EmployeeID.
   *  @author Bob Timlin
   *
   *  @return int Employee ID.
  */
  public int getEmployeeID () { return employeeID; }

  /** getDeptNo
   *  Used to retrieve private data-member DeptNo.
   *  @author Bob Timlin
   *
   *  @return int DeptNo.
  */
  public int getDeptNo () { return deptNo; }

  /** getFirstName
   *  Used to retrieve private data-member FirstName.
   *  @author Bob Timlin
   *
   *  @return String FirstName .
  */
  public String getFirstName () { return firstName; }

  /** getLastName
   *  Used to retrieve private data-member LastName.
   *  @author Bob Timlin
   *
   *  @return String LastName .
  */
  public String getLastName () { return lastName; }

  /** setEmployeeID
   *  Used to change private data-member EmployeeID.
   *  @author Bob Timlin
   *
   *  @arguments int Employee ID.
  */
  public void setEmployeeID (int e) { employeeID = e; }

  /** setDeptNo
   *  Used to change private data-member DeptNo.
   *  @author Bob Timlin
   *
   *  @arguments int DeptNo.
  */
  public void setDeptNo (int d) { deptNo = d; }

  /** setFirstName
   *  Used to change private data-member FirstName.
   *  @author Bob Timlin
   *
   *  @arguments String FirstName.
  */
  public void setFirstName (String f) { firstName = f; }

  /** setLastName
   *  Used to change private data-member LastName.
   *  @author Bob Timlin
   *
   *  @arguments String LastName.
  */
  public void setLastName (String l) { lastName = l; }

}


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




RE: Urgent - class loading issue

2001-12-10 Thread Timlin, Bob

No, how do I do this?

> -Original Message-
> From: Suzanne Reiner 8423 [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 11:05 AM
> To:   'Tomcat Users List'
> Subject:  RE: Urgent - class loading issue
> 
> Have you added a servlet context (referencing your application) to the
> server.xml file?
> 
> Suzanne


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




RE: Bean Class violates loader constraints

2001-12-10 Thread Timlin, Bob

It works both ways.  It has a default constructor and setters/getters.  It
doesn't fire events.  The code is below:
/**
 * Class Name:   Employee
 * Description:  Class with Employee specific information such as Employee
ID, Name, Department.
 *   Also setters and getters for each of the above.
 *
 * Assignment#   1
 * @author Bob Timlin
 * @version 1.0
 */

//package hrclient;

//import java.lang.*;

public class Employee implements java.io.Serializable {
  private int employeeID;
  private int deptNo;
  private String firstName;
  private String lastName;

  /** Employee
   *  Default Constructor that will initialize EmployeeID to 0.
   *  @author Bob Timlin
  */
  public Employee() {
  }

  public Employee(int ID) {
  employeeID = ID;
  }

  public Employee(int ID, String ln, String fn, int dno) {
  employeeID = ID;
lastName = ln;
firstName = fn;
deptNo = dno;
  }

  /** getEmployeeID
   *  Used to retrieve private data-member EmployeeID.
   *  @author Bob Timlin
   *
   *  @return int Employee ID.
  */
  public int getEmployeeID () { return employeeID; }

  /** getDeptNo
   *  Used to retrieve private data-member DeptNo.
   *  @author Bob Timlin
   *
   *  @return int DeptNo.
  */
  public int getDeptNo () { return deptNo; }

  /** getFirstName
   *  Used to retrieve private data-member FirstName.
   *  @author Bob Timlin
   *
   *  @return String FirstName .
  */
  public String getFirstName () { return firstName; }

  /** getLastName
   *  Used to retrieve private data-member LastName.
   *  @author Bob Timlin
   *
   *  @return String LastName .
  */
  public String getLastName () { return lastName; }

  /** setEmployeeID
   *  Used to change private data-member EmployeeID.
   *  @author Bob Timlin
   *
   *  @arguments int Employee ID.
  */
  public void setEmployeeID (int e) { employeeID = e; }

  /** setDeptNo
   *  Used to change private data-member DeptNo.
   *  @author Bob Timlin
   *
   *  @arguments int DeptNo.
  */
  public void setDeptNo (int d) { deptNo = d; }

  /** setFirstName
   *  Used to change private data-member FirstName.
   *  @author Bob Timlin
   *
   *  @arguments String FirstName.
  */
  public void setFirstName (String f) { firstName = f; }

  /** setLastName
   *  Used to change private data-member LastName.
   *  @author Bob Timlin
   *
   *  @arguments String LastName.
  */
  public void setLastName (String l) { lastName = l; }

}



> -Original Message-
> From: Siomara Pantarotto [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 11:44 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Bean Class violates loader constraints
> 
> Are you sure this line works?
> 
> public class Employee implements java.io.Serializable {
> 
> I never saw it that way( I am not saying that it's wrong, just that I
> never 
> saw it this way anywhere).
> 
> Why don't you try your code like this ... and see if the error persists?
> 
> import java.io.*;
> 
> public class Employee implements Serializable
> {
>   //bla bla bla
> 
> I don't see any reason for your class to not work. It's a simple java bean
> 
> (although it does not fire events) with a default constructor and  with
> set 
> and get methods for its attributes, right?
> 
> Siomara
> 
> 
> >From: "Timlin, Bob" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >Subject: Bean Class violates loader constraints
> >Date: Mon, 10 Dec 2001 10:56:25 -0800
> >
> >Anyone have any Ideas.  My employee class is listed below.
> >
> >Thanks in Advance.
> >
> >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
> >
> >javax.servlet.ServletException: Class Employee violates loader
> >constraints
> >
> >/**
> >* Class Name:   Employee
> >* Description:  Class with Employee specific information such as
> >Employee ID, Name, Department.
> >*   Also setters and getters for each of the above.
> >*
> >* Assignment#   1
> >* @author Bob Timlin
> >* @version 1.0
> >*/
> >
> >//package hrclient;
> >
> >//import java.lang.*;
> >
> >public class Employee implements java.io.Serializable {
> >   private int employeeID;
> >   private int deptNo;
> >   private String firstName;
> >   private String lastName;
> >
> >   /** Employee
> >*  Default Constructor that will initialize EmployeeID to 0.
> >*  @author Bob Timl

RE: Bean Class violates loader constraints

2001-12-10 Thread Timlin, Bob

Also here is part of the exception report.
root cause 
java.lang.LinkageError: Class Employee violates loader constraints
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1534)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:852)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1273)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1156)


> -Original Message-
> From: Siomara Pantarotto [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 11:44 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Bean Class violates loader constraints
> 
> Are you sure this line works?
> 
> public class Employee implements java.io.Serializable {
> 
> I never saw it that way( I am not saying that it's wrong, just that I
> never 
> saw it this way anywhere).
> 
> Why don't you try your code like this ... and see if the error persists?
> 
> import java.io.*;
> 
> public class Employee implements Serializable
> {
>   //bla bla bla
> 
> I don't see any reason for your class to not work. It's a simple java bean
> 
> (although it does not fire events) with a default constructor and  with
> set 
> and get methods for its attributes, right?
> 
> Siomara
> 
> 
> >From: "Timlin, Bob" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >Subject: Bean Class violates loader constraints
> >Date: Mon, 10 Dec 2001 10:56:25 -0800
> >
> >Anyone have any Ideas.  My employee class is listed below.
> >
> >Thanks in Advance.
> >
> >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
> >
> >javax.servlet.ServletException: Class Employee violates loader
> >constraints
> >
> >/**
> >* Class Name:   Employee
> >* Description:  Class with Employee specific information such as
> >Employee ID, Name, Department.
> >*   Also setters and getters for each of the above.
> >*
> >* Assignment#   1
> >* @author Bob Timlin
> >* @version 1.0
> >*/
> >
> >//package hrclient;
> >
> >//import java.lang.*;
> >
> >public class Employee implements java.io.Serializable {
> >   private int employeeID;
> >   private int deptNo;
> >   private String firstName;
> >   private String lastName;
> >
> >   /** Employee
> >*  Default Constructor that will initialize EmployeeID to 0.
> >*  @author Bob Timlin
> >   */
> >   public Employee() {
> >   }
> >
> >   public Employee(int ID) {
> >   employeeID = ID;
> >   }
> >
> >   public Employee(int ID, String ln, String fn, int dno) {
> >   employeeID = ID;
> >   lastName = ln;
> >   firstName = fn;
> >   deptNo = dno;
> >   }
> >
> >   /** getEmployeeID
> >*  Used to retrieve private data-member EmployeeID.
> >*  @author Bob Timlin
> >*
> >*  @return int Employee ID.
> >   */
> >   public int getEmployeeID () { return employeeID; }
> >
> >   /** getDeptNo
> >*  Used to retrieve private data-member DeptNo.
> >*  @author Bob Timlin
> >*
> >*  @return int DeptNo.
> >   */
> >   public int getDeptNo () { return deptNo; }
> >
> >   /** getFirstName
> >*  Used to retrieve private data-member FirstName.
> >*  @author Bob Timlin
> >*
> >*  @return String FirstName .
> >   */
> >   public String getFirstName () { return firstName; }
> >
> >   /** getLastName
> >*  Used to retrieve private data-member LastName.
> >*  @author Bob Timlin
> >*
> >*  @return String LastName .
> >   */
> >   public String getLastName () { return lastName; }
> >
> >   /** setEmployeeID
> >*  Used to change private data-member EmployeeID.
> >*  @author Bob Timlin
> >*
> >*  @arguments int Employee ID.
> >   */
> >   public void setEmployeeID (int e) { employeeID = e; }
> &

RE: Bean Class violates loader constraints

2001-12-10 Thread Timlin, Bob

Thanks, I'll try that.

> -Original Message-
> From: Siomara Pantarotto [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 12:02 PM
> To:   [EMAIL PROTECTED]
> Subject:  RE: Bean Class violates loader constraints
> 
> Have you tried reinstalling JAVA.
> 
> It seems that your jdk got messed up or corrupted somehow.
> 
> Your class is OK, and that I garantee. I have implemented much more 
> complicated javabeans, and there is no reason for this one not work.
> It just has set/get methods.
> 
> Sio
> 
> PS: I had faced problem like that after installing java stuffs (JMS for 
> example). I just reintalled JDK and it worked fine.
> 
> 
> 
> >From: "Timlin, Bob" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> >Subject: RE: Bean Class violates loader constraints
> >Date: Mon, 10 Dec 2001 11:50:56 -0800
> >
> >Also here is part of the exception report.
> >root cause
> >java.lang.LinkageError: Class Employee violates loader constraints
> > at java.lang.ClassLoader.defineClass0(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> > at
> >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
> > at
> >org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClas
> sLo
> >ader.java:1534)
> > at
> >org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.
> jav
> >a:852)
> > at
> >org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.
> jav
> >a:1273)
> > at
> >org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.
> jav
> >a:1156)
> >
> >
> > > -Original Message-
> > > From: Siomara Pantarotto [SMTP:[EMAIL PROTECTED]]
> > > Sent: Monday, December 10, 2001 11:44 AM
> > > To:   [EMAIL PROTECTED]
> > > Subject:  Re: Bean Class violates loader constraints
> > >
> > > Are you sure this line works?
> > >
> > > public class Employee implements java.io.Serializable {
> > >
> > > I never saw it that way( I am not saying that it's wrong, just that I
> > > never
> > > saw it this way anywhere).
> > >
> > > Why don't you try your code like this ... and see if the error
> persists?
> > >
> > > import java.io.*;
> > >
> > > public class Employee implements Serializable
> > > {
> > >   //bla bla bla
> > >
> > > I don't see any reason for your class to not work. It's a simple java 
> >bean
> > >
> > > (although it does not fire events) with a default constructor and
> with
> > > set
> > > and get methods for its attributes, right?
> > >
> > > Siomara
> > >
> > >
> > > >From: "Timlin, Bob" <[EMAIL PROTECTED]>
> > > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > >To: "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> > > >Subject: Bean Class violates loader constraints
> > > >Date: Mon, 10 Dec 2001 10:56:25 -0800
> > > >
> > > >Anyone have any Ideas.  My employee class is listed below.
> > > >
> > > >Thanks in Advance.
> > > >
> > > >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
> > > >
> > > >javax.servlet.ServletException: Class Employee violates loader
> > > >constraints
> > > >
> > > >/**
> > > >* Class Name:   Employee
> > > >* Description:  Class with Employee specific information such as
> > > >Employee ID, Name, Department.
> > > >*   Also setters and getters for each of the above.
> > > >*
> > > >* Assignment#   1
> > > >* @author Bob Timlin
> > > >* @version 1.0
> > > >*/
> > > >
> > > >//package hrclient;
> > > >
> > > >//import java.lang.*;
> > > >
> > > >public class Employee implements java.io.Serializable {
> > > >   private int employeeID;
>

Returning a Resultset from an Oracle Stored Procedure

2001-12-21 Thread Timlin, Bob

Can anyone give me a reference to where I can get some detail information on
returning a resultset from an Oracle Stored Procedure to a JSP program?  I
have found many samples of how to do this on the JSP side, but no
information on how to write a Oracle Stored Procedure that returns a
Resultset.

Thanks!

Bob Timlin
Senior Software Engineer
C.P.M.C Information Technology
415-600-7005
[EMAIL PROTECTED]



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




RE: Returning a Resultset from an Oracle Stored Procedure

2001-12-21 Thread Timlin, Bob

I am using Oracle8i and am not sure where the Oracle documentation is.  I
have several advanced Oracle books and none of them discuss it.  Very
frustrating!  How about doing the same thing, but from an Oracle Stored
Procedure to a Visual Basic program?

> -Original Message-
> From: Robert Dunlop [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 21, 2001 11:25 AM
> To:   Tomcat Users List
> Subject:  Re: Returning a Resultset from an Oracle Stored Procedure
> 
> > Can anyone give me a reference to where I can get some detail
> information
> on
> > returning a resultset from an Oracle Stored Procedure to a JSP program?
> I
> > have found many samples of how to do this on the JSP side, but no
> > information on how to write a Oracle Stored Procedure that returns a
> > Resultset.
> 
> 
> 
> Bob,
> 
> You need to go to your Oracle documentation on this.  And, depending
> on
> the version of Oracle this may be a problem.  I don't think Oracle in
> versions prior to 8x supported returning result sets from stored procs.  I
> know I've found some ugly work arounds when trying to do the same from C++
> apps via ODBC.
> 
> Bob
> 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 


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




RE: Returning a Resultset from an Oracle Stored Procedure

2001-12-21 Thread Timlin, Bob

Does the REF Cursor get declared in the parameter list as an OUT parameter
or in the Declaration sections as a variable?
Thanks,
Bob Timlin.

> -Original Message-
> From: Teemu Keiski [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 21, 2001 11:29 AM
> To:   Tomcat Users List
> Subject:  VS: Returning a Resultset from an Oracle Stored Procedure
> 
> You can do it using Oracle's REF cursor in packages(if you have Oracle 8i
> or
> newer). Idea is to create package, define ref cursor and define the
> procedure to use that ref cursor (in the package). Then you call
> package.procedurename(parameters) with JDBC and so on.
> 
> The best documentation you can found is at Oracle web site(or with your
> Oracle installation(Oracle8i JDBC Developer's Guide and Reference)). But
> you
> have to register yourself to the Oracle's Technology network to be able to
> view the docs online at Oracle.
> 
> Here is link to the Oracle8i JDBC Developer's Guide and Reference at
> Oracle's site:
> http://otn.oracle.com/doc/java.815/a64685/toc.htm
> 
> Teemu Keiski
> Application analyst, programmer
> Mansoft tietotekniikka Oy
> Finland
> 
> -Alkuperainen viesti-
> Lahettaja: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> Lahetetty: 21. joulukuuta 2001 21:08
> Vastaanottaja: '[EMAIL PROTECTED]'
> Aihe: Returning a Resultset from an Oracle Stored Procedure
> 
> 
> Can anyone give me a reference to where I can get some detail information
> on
> returning a resultset from an Oracle Stored Procedure to a JSP program?  I
> have found many samples of how to do this on the JSP side, but no
> information on how to write a Oracle Stored Procedure that returns a
> Resultset.
> 
> Thanks!
> 
> Bob Timlin
> Senior Software Engineer
> C.P.M.C Information Technology
> 415-600-7005
> [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]>
> 


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




RE: Returning a Resultset from an Oracle Stored Procedure

2001-12-21 Thread Timlin, Bob

Never Mind, my last post.  The Oracle Web-site you provided gave me the
answer I have been looking for for days!

Thank you very much!

Bob Timlin.

> -Original Message-
> From: Teemu Keiski [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 21, 2001 11:29 AM
> To:   Tomcat Users List
> Subject:  VS: Returning a Resultset from an Oracle Stored Procedure
> 
> You can do it using Oracle's REF cursor in packages(if you have Oracle 8i
> or
> newer). Idea is to create package, define ref cursor and define the
> procedure to use that ref cursor (in the package). Then you call
> package.procedurename(parameters) with JDBC and so on.
> 
> The best documentation you can found is at Oracle web site(or with your
> Oracle installation(Oracle8i JDBC Developer's Guide and Reference)). But
> you
> have to register yourself to the Oracle's Technology network to be able to
> view the docs online at Oracle.
> 
> Here is link to the Oracle8i JDBC Developer's Guide and Reference at
> Oracle's site:
> http://otn.oracle.com/doc/java.815/a64685/toc.htm
> 
> Teemu Keiski
> Application analyst, programmer
> Mansoft tietotekniikka Oy
> Finland
> 
> -Alkuperainen viesti-
> Lahettaja: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> Lahetetty: 21. joulukuuta 2001 21:08
> Vastaanottaja: '[EMAIL PROTECTED]'
> Aihe: Returning a Resultset from an Oracle Stored Procedure
> 
> 
> Can anyone give me a reference to where I can get some detail information
> on
> returning a resultset from an Oracle Stored Procedure to a JSP program?  I
> have found many samples of how to do this on the JSP side, but no
> information on how to write a Oracle Stored Procedure that returns a
> Resultset.
> 
> Thanks!
> 
> Bob Timlin
> Senior Software Engineer
> C.P.M.C Information Technology
> 415-600-7005
> [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]>
> 


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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Let's see.  The following is a nightmare
1.  unzip tomcat
2.  cd $TOMCAT_HOME/bin (unix/linux) or cd %TOMCAT_HOME%\bin (windows)
3.  startup.sh (unix/linux)  or startup (windows)





-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 8:31 AM
To: Tomcat Users List
Subject: Re: NIGHTMARE

Williams Mark L DLPC a Ýcrit :

> Would you all quit this? It's silly to generate so much email in defense
of
> a product we're all working with. If someone doesn't like it, so be it.
BTW,
> our correspondent may already be off the group, which could mean that
we're
> all just reading our own flames. Can we return to matters of substance,
> please?
>
> Mark
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

Yep yu're right.

I would have think about a shrinky Troll...

Not even good enough to go ahaed.

Let's have some better conversation, boys !

Jean-Luc :O)




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



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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

We are running a similar setup.  Go to the Apache site for Tomcat and do a
search on "Java Service"
Notice for JDK 1.3 users:  There is a known problem in JDK 1.3 that affects
Java applications being run as Windows NT services.  The bug causes the
service to terminate when the currently logged in user logs out.  The
simplest way to work around this problem is to use JDK 1.2.  If your
application requires JDK 1.3 features then you may want to look into
javaserv or JavaService.  Users have reported success with both of these
packages but there may be others that work as well. 

http://www.alexandriasc.com/software/JavaService/
http://www.kcmultimedia.com/javaserv/

BTW: you may want to try 4.0.2.  It is more stable than 3.2
-Original Message-
From: Árni Arent [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:15 AM
To: todd tredeau; Tomcat Users List
Subject: RE: NIGHTMARE

Sorry for the flame :)

Just got very frustrated. I am very patient, and yes I've read the install
documentation carefully and followed it step by step, that I am sure of.
However the install documentation is way too long, too many things users
have to consider.

My setup is Win2000, IIS and Tomcat3.2.4.

I've managed to get tomcat to work, however it doesn't run with IIS nor did
I manage to install tomcat as a service.

My problem is this
When starting the NT service I get:
Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.

Regards.

-Original Message-
From: todd tredeau [mailto:[EMAIL PROTECTED]]
Sent: 8. apríl 2002 15:08
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: NIGHTMARE


I completely disagree with you. I am NOT a programmer, and pretty easily
figured out the BASIC installation, ie:unzip/expand and run. Is it
possible this is a case of No Planning, or Not Reading the ample
documentation, How many unanswered questions have you posted?

I'm sorry, but this type of message leaves me to believe you spent NO
effort to solve your own problems, read the documentation, or spec your
project.

It would seem that PHP, JSP, CFM, ASP, etc.. are each suited to
particular needs. I can't say that I would want to go from one to
another without a better plan.

In 16 years, I have seen a lot of software, for a lot of money, free,
commercial and everything in between. I personally haven't gotten that
involved in "open source" projects except for the last couple years,
while I don't feel I'm qualified to do much, I do what I can. The power
of hundreds and thousands of minds, is far better than anything I have seen.

While it is often true, extra pains are taken to get things working,
installed or configured, typically if you have a clue what you are doing
to start with it helps. At the same time, I have never posted a question
without some sort of positive response, perhaps, if you considered
putting your demand for perfection aside, you could learn and contribute
to the project, providing feedback and guidance to developers so they
know what works better, that is the power of any project.

Would I be correct in assuming your trying to run tomcat on windows
platform? I would agree with you however on one thing, there are far too
many strains of Tomcat out right now Stratify your projects...too
hard to support too many.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

opinions expressed here are my own, and I have no official affiliation
with Novell, Apache or any of their sub-projects.

Árni Arent wrote:

>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>trying to make it work without success.
>
>Endless configuration files, paths, etc. making this a impossible software
>to use. I doubt I'm the only one who has complaint.
>
>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>that out.
>
> || |||  
>
>   Árni Arent Guðlaugsson
>   Forritari og Autonomy sérfræðingur
>   Íslandsvefir ehf.
>   Thorvaldsensstræti 4
>   101 Reykjavík / Iceland
>   --
>   Tel: +354 552 6300
>   Fax: +354 552 6302
>   E-mail: [EMAIL PROTECTED]
>   http://www.islandsvefir.is/
>   http://www.ha.is/
>
>   Bættu ha.is á vefsíðuna þína:
>   http://www.ha.is/almennt/tenging.asp
>
>|| |||  
>
>
>--
>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: jk_nt_service fails (error 1067)

2002-04-08 Thread Timlin, Bob

Have you looked for a port conflict or tried starting tomcat on a different
port?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:19 AM
To: Tomcat User
Subject: jk_nt_service fails (error 1067)

Hi,
I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0
Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to
work.
I have disabled tomcat.exe in my services and restarted the server, but the
service doesn't start. My operating system is in swedish but this is an
error I found in this group that looks like it:
***
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
***
I couldn't find an answer to the old message so I ask again. Why can't I
have this service started. Just to see that it wasn't my server that was
messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it
generates the same error.

If I try to start the service in the Command Prompt (jk_nt_service -s
Tomcat) and it generates this error:
*
Asked (and given) winsoc
Starting Tomcat.
Tomcat failed to start.
*

The service is started by following command: jk_nt_service.exe Tomcat in
win2000 services.
If I try that in the Command Promt I get the following error:

Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.
***

Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache
Tomcat 4.0 ?


Thanx for any help,
Alexander Höglind




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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Well in a Unix or Linux environment that is all you have to do.  In a
Windows environment that will get Tomcat running in a DOS window.  To run as
an NT Service there are more steps involved.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:09 AM
To: 'Tomcat Users List'
Subject: RE: NIGHTMARE

-Original Message-----
From: Timlin, Bob [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 11:39 AM

> Let's see.  The following is a nightmare
> 1.  unzip tomcat
> 2.  cd $TOMCAT_HOME/bin (unix/linux) or cd %TOMCAT_HOME%\bin (windows)
3.  
> startup.sh (unix/linux)  or startup (windows)

This snide kind of remark is hardly worth its typing time.  It implies
that people having problems installing and configuring TomCat, are
morons.  This is not only insulting to list members, it's far from the
truth.

Clearly, there is more to installing and configuring TomCat than the
three lines above.

If you are truly interested in helping, then help by providing useful,
constructive comments/suggestions, or provide time to improve well
needed documentation.

- tex


--
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: NIGHTMARE

2002-04-08 Thread Timlin, Bob

That is true, however I understood the original question to be about
"Installing Tomcat".  Of all the products I have worked with Free and For
Sale, I have found Tomcat to be one of the easiest to use.  I also found the
documentation with it very helpful and most JSP books provide there examples
for Tomcat.

-Original Message-
From: Jolet, John [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:39 AM
To: 'Tomcat Users List'
Subject: RE: NIGHTMARE

I think a distinction needs to be made here between "installed" and
"useful"...those steps will indeed get it installed...However, it's much
more difficult to get useful work out of it.  I've done two linux boxes and
a windows box now, and i'm still in the "well I got it to serve up the jsp
pages, but not quite sure how" stage.

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:31 AM
To: Tomcat Users List
Subject: RE: NIGHTMARE


Well in a Unix or Linux environment that is all you have to do.  In a
Windows environment that will get Tomcat running in a DOS window.  To run as
an NT Service there are more steps involved.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:09 AM
To: 'Tomcat Users List'
Subject: RE: NIGHTMARE

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 11:39 AM

> Let's see.  The following is a nightmare
> 1.  unzip tomcat
> 2.  cd $TOMCAT_HOME/bin (unix/linux) or cd %TOMCAT_HOME%\bin (windows)
3.  
> startup.sh (unix/linux)  or startup (windows)

This snide kind of remark is hardly worth its typing time.  It implies
that people having problems installing and configuring TomCat, are
morons.  This is not only insulting to list members, it's far from the
truth.

Clearly, there is more to installing and configuring TomCat than the
three lines above.

If you are truly interested in helping, then help by providing useful,
constructive comments/suggestions, or provide time to improve well
needed documentation.

- tex


--
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]>



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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

I am using Tomcat 4.0.2 with Win2K and IIS 5.0 as an NT Service without any
difficulties.  There is a bug with NT services that you need to be aware of
on 3.2.

-Original Message-
From: Lecaros, Noel [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: RE: NIGHTMARE

Hi Arni,

Have you checked the tomcat logs in %TOMCAT_HOME%\logs\jvm.stderr (or
jvm.stdout)?  There also appears to be an issue with the wrapper.properties
file (which you supply as a command-line parameter to jk_nt_service.exe) in
that the wrapper.jvm.options is not being properly read if left blank.  If
you're using JDK1.3.1 or higher, put wrapper.jvm.options=-Xrs.  It should
start properly.

I notice that you're using v3.2.4.  Any particular reason for sticking to
that version?  I am using v3.3.1 on Win2K with IIS.  Tomcat is also running
as a service.  If it's any help, I could post the detailed steps here for my
setup, or e-mail them direct to you.  In my opinion, v.3.3.x is the most
well-documented and well-supported version of Tomcat for Win2K.

You are right in that there are many documents (or rather, parts of
documents) to read in configuring Tomcat.  Not only that: given the numerous
versions of the software, it's practically essential to note down the
version number when asking for help.  Often, you'd have to search through
the mailing lists for resolution to a specific problem (assuming one
exists!).

Hope this helps you, and if you have any questions, just ask it on this
list.

Regards,

Noel Lecaros

-Original Message-
From: Árni Arent [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 9:15 AM
To: todd tredeau; Tomcat Users List
Subject: RE: NIGHTMARE


Sorry for the flame :)

Just got very frustrated. I am very patient, and yes I've read the install
documentation carefully and followed it step by step, that I am sure of.
However the install documentation is way too long, too many things users
have to consider.

My setup is Win2000, IIS and Tomcat3.2.4.

I've managed to get tomcat to work, however it doesn't run with IIS nor did
I manage to install tomcat as a service.

My problem is this
When starting the NT service I get:
Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.

Regards.

-Original Message-
From: todd tredeau [mailto:[EMAIL PROTECTED]]
Sent: 8. apríl 2002 15:08
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: NIGHTMARE


I completely disagree with you. I am NOT a programmer, and pretty easily
figured out the BASIC installation, ie:unzip/expand and run. Is it
possible this is a case of No Planning, or Not Reading the ample
documentation, How many unanswered questions have you posted?

I'm sorry, but this type of message leaves me to believe you spent NO
effort to solve your own problems, read the documentation, or spec your
project.

It would seem that PHP, JSP, CFM, ASP, etc.. are each suited to
particular needs. I can't say that I would want to go from one to
another without a better plan.

In 16 years, I have seen a lot of software, for a lot of money, free,
commercial and everything in between. I personally haven't gotten that
involved in "open source" projects except for the last couple years,
while I don't feel I'm qualified to do much, I do what I can. The power
of hundreds and thousands of minds, is far better than anything I have seen.

While it is often true, extra pains are taken to get things working,
installed or configured, typically if you have a clue what you are doing
to start with it helps. At the same time, I have never posted a question
without some sort of positive response, perhaps, if you considered
putting your demand for perfection aside, you could learn and contribute
to the project, providing feedback and guidance to developers so they
know what works better, that is the power of any project.

Would I be correct in assuming your trying to run tomcat on windows
platform? I would agree with you however on one thing, there are far too
many strains of Tomcat out right now Stratify your projects...too
hard to support too many.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

opinions expressed here are my own, and I have no official affiliation
with Novell, Apache or any of their sub-projects.

Árni Arent wrote:

>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>trying to make it work without success.
>
>Endless configuration files, paths, etc. making this a impossible software
>to use. I doubt I'm the only one who has complaint.
>
>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>that out.
>
> || |||  
>
>   Árni Arent Guðlaugsson
>   Forritari og Autonomy sérfræðingur
>   Íslandsvefir ehf.
>   Thorvaldsensstræti 4
>   101 Reykjavík / Iceland
>   --
>   Tel: +354 552 6300
>   Fax: +354 552 6302
>   E-mail: [EMAIL PROTECTED]
>   http://www.islandsvefir.is/
>   http://www.ha.is/
>
>   Bætt

RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Except PHP has no FUTURE.  The whole world is moving to J2EE.

-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:14 AM
To: Tomcat Users List
Subject: Re: NIGHTMARE

Good move!   If you find Tomcat hard, you need to stick to PHP.

At 01:22 PM 4/8/02 +, you wrote:
>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>trying to make it work without success.
>
>Endless configuration files, paths, etc. making this a impossible software
>to use. I doubt I'm the only one who has complaint.
>
>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>that out.
>
>  || |||  
>
>Árni Arent Guðlaugsson
>Forritari og Autonomy sérfræðingur
>Íslandsvefir ehf.
>Thorvaldsensstræti 4
>101 Reykjavík / Iceland
>--
>Tel: +354 552 6300
>Fax: +354 552 6302
>E-mail: [EMAIL PROTECTED]
>http://www.islandsvefir.is/
>http://www.ha.is/
>
>Bættu ha.is á vefsíðuna þína:
>http://www.ha.is/almennt/tenging.asp
>
>|| |||  
>
>
>--
>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: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Getting PHP to work on an Linux System is much harder than Tomcat.

-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:17 AM
To: Tomcat Users List
Subject: Re: NIGHTMARE

I agree that the documentation on virtual hosts is too abstract, unless you 
want to really learn what you are doing, rather than merely how to do 
it.  An example of different sample server.xml configurations would be
advised.

At 04:56 PM 4/8/02 +0200, you wrote:
>On 08/04/2002 at 11:48 Martin Mauri wrote:
>
> >Do what you want. I feel sorry about you. You're losing the best and
> >calling
> >Tomcat a "crap" tells you're a loser.
> >I've installed Tomcat in 5 minutes.
> >
>
>
>Hi Martin
>
>I could say yes and no.
>
>I think Tomcat is great, but installatin is not so easy as Apache with PHP 
>and documentation about installing sucks.
>
>I guess people need more clear examples to do simple configuration tasks 
>till get the idea. I've installed Tomcat in my XP in 10 minutes but I'm 
>trying to get virtual hosts working from 3 days ago. I'm frustrated and 
>feel myself like a newbie, but I´m not a newbie (damn !)
>
>IMHO
>
>
>
>
>
>
>_
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>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: Installing tomcat as NT service

2002-04-08 Thread Timlin, Bob

First, you really should use a more current version of Tomcat.
Second, there is a known bug with 3.2 on jk_nt_service.  Try the following
web-sites:
http://www.kcmultimedia.com/javaserv/

http://www.alexandriasc.com/software/JavaService/index.html


-Original Message-
From: Árni Arent [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: Installing tomcat as NT service

Hi,

How the heck do I install tomcat as NT service. I've given up! :|

I installed tomcat 3.2.4 and tried installing it as a nt service with the
jk_nt_service.exe, but that didn't work. I received this error when starting
the service:
Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.

Now I'm trying to install tomcat 4.0.3 and it's a mystery how to install it
as a nt service. No documentation on it.

Can anyone please help me, I'm really frustrated.


 || |||  

   Árni Arent Guðlaugsson
   Forritari og Autonomy sérfræðingur
   Íslandsvefir ehf.
   Thorvaldsensstræti 4
   101 Reykjavík / Iceland
   --
   Tel: +354 552 6300
   Fax: +354 552 6302
   E-mail: [EMAIL PROTECTED]
   http://www.islandsvefir.is/
   http://www.ha.is/

   Bættu ha.is á vefsíðuna þína:
   http://www.ha.is/almennt/tenging.asp

|| |||  


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



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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Well I took a PHP class and asked my instructor about this scenario.

I installed SuSE Linux 7.2 with Apache and PHP pre-installed, then I
installed MySQL after the fact.  I couldn't get PHP to see MySQL, I asked my
instructor and he told me that I needed to install PHP after Both Apache and
MySQL were installed.  I found this strange to accept, but since I had no
desire to use PHP after the class I left it at that.

-Original Message-
From: Jolet, John [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:25 AM
To: 'Tomcat Users List'
Subject: RE: NIGHTMARE

I'd have to put them about on par, myself...although, i've gotten tomcat
working on 2 linux systems, and php on one... :-)

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:22 PM
To: Tomcat Users List
Subject: RE: NIGHTMARE


Getting PHP to work on an Linux System is much harder than Tomcat.

-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:17 AM
To: Tomcat Users List
Subject: Re: NIGHTMARE

I agree that the documentation on virtual hosts is too abstract, unless you 
want to really learn what you are doing, rather than merely how to do 
it.  An example of different sample server.xml configurations would be
advised.

At 04:56 PM 4/8/02 +0200, you wrote:
>On 08/04/2002 at 11:48 Martin Mauri wrote:
>
> >Do what you want. I feel sorry about you. You're losing the best and
> >calling
> >Tomcat a "crap" tells you're a loser.
> >I've installed Tomcat in 5 minutes.
> >
>
>
>Hi Martin
>
>I could say yes and no.
>
>I think Tomcat is great, but installatin is not so easy as Apache with PHP 
>and documentation about installing sucks.
>
>I guess people need more clear examples to do simple configuration tasks 
>till get the idea. I've installed Tomcat in my XP in 10 minutes but I'm 
>trying to get virtual hosts working from 3 days ago. I'm frustrated and 
>feel myself like a newbie, but I´m not a newbie (damn !)
>
>IMHO
>
>
>
>
>
>
>_
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>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]>

--
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: NIGHTMARE

2002-04-08 Thread Timlin, Bob

But with Tomcat all I have to do after I install a new database is put the
jdbc driver in the TOMCAT/lib directory.  No re-compiling or re-installing
of the software.  Why is PHP so difficult to add components after the fact?

-Original Message-
From: Javier A. Leyba [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:46 AM
To: Tomcat Users List
Subject: RE: NIGHTMARE

On 08/04/2002 at 10:37 Timlin, Bob wrote:

>Well I took a PHP class and asked my instructor about this scenario.
>
>I installed SuSE Linux 7.2 with Apache and PHP pre-installed, then I
>installed MySQL after the fact.  I couldn't get PHP to see MySQL, I asked
>my
>instructor and he told me that I needed to install PHP after Both Apache
>and
>MySQL were installed.  I found this strange to accept, but since I had no
>desire to use PHP after the class I left it at that.
>

Hi 

If logical. If you installed source code to compile and tried to install PHP
before install MySQL, PHP will not found MySQL libraries and will not work
with it.

If download PHP source code you will notice there is a file called INSTALL
with 3 simple steps that ALLWAYS work.

Regards






_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Well this has not been my experience.  My first attempt at Tomcat, I had the
server up and running and executing My JSP files within an hour, not sample
JSP's.  

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:45 AM
To: Tomcat Users List
Subject: AW: NIGHTMARE

That's a bit unfair.

What you say is just the easy part:
Running tomcat stand alone and just using the examples and the manager.

There are several problems that can make the installation of tomcat
quite difficult.

- The documentation is quite confusing.
  You have to read many documents to get startet and find out how to 
  achieve certain goals. (All this howto's are nice, but you already 
  have to know something to find out, which howto will help you to solve

  a given problem.) For some documents you need more knowledge than
  you need write and run simple php skripts. (e.g. Classloader-How-To)

Just some little examples (There are more):

Connectors:
  There are two connectors: mod_webapp and mod_jk
  For a beginner it is very difficult to find out which one to use
  and what's the difference between them.
  Both connectors have their pitfalls where you can easily get stuck.
  It can be hard to find out which one is suitable for the IIS 
  integration if you don't have enough patience. (The introduction just 
  talkes about apache, not iis, not netscape)
 
  It would be better to extend the introduction in 
  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.htmlwith 
  with an enumeration which servers are supported and add some links 
  to the part where the integration to each server is described.

  The Howto is not well organized, the terminology is explained in the 
  apache howto. That's not where I would look if I would want to
integrate 
  with IIS (which I won't).

Download Page:
  If you go to the download page 
 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/
  there are many file listed.

  There is no hint what to to with this files, what's the difference
between
  *.exe, *.exe.asc, *.zip, *.tar.gz, *.tar.gz.asc.
  (The document RUNNING.TXT that is referenced elsewhere on the site
just 
   talks about how to install a nighly binary from a zip that has a
different 
   name than the existing files) that not a problem for someone who is
not 
   doing things like this for the first time, but for a beginner it's at
least 
   confusing.)

Some subtle problems in the servlet spec:
  Tell me what's wrong about this (and where can I find a document that 
  explains that):

  
/jsp/index.jsp
  

  (Tell me what happens. Read as much documentation or specification as 
  you like, but don't look at the tomcat source or try it)

  or
  
jsp/index.jsp?Action=Start
   

  (Again)

One thing at last:
  As a servlet engine and jsp container tomcat offers much more than
  PHP can offer. But at the price that simple things can be more 
  complicated than in other script languages. Currently I have the
feeling 
  that some simple things are more complicated than neccesary. (Some of 
  them are more a result of the spec than just a tomcat problem.)

> -Ursprüngliche Nachricht-
> Von: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 8. April 2002 18:31
> An: Tomcat Users List
> Betreff: RE: NIGHTMARE

> Well in a Unix or Linux environment that is all you have to do.  In a
> Windows environment that will get Tomcat running in a DOS 
> window.  To run as an NT Service there are more steps involved.

--
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: NIGHTMARE

2002-04-08 Thread Timlin, Bob

As usual, by the time they figure it out, it will be a fact two years deep.

-Original Message-
From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 11:22 AM
To: Tomcat Users List
Subject: RE: NIGHTMARE

While I am a big J2EE fan, I wonder if Microsoft has heard this news?

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:20 PM
To: Tomcat Users List
Subject: RE: NIGHTMARE


Except PHP has no FUTURE.  The whole world is moving to J2EE.

-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 10:14 AM
To: Tomcat Users List
Subject: Re: NIGHTMARE

Good move!   If you find Tomcat hard, you need to stick to PHP.

At 01:22 PM 4/8/02 +, you wrote:
>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>trying to make it work without success.
>
>Endless configuration files, paths, etc. making this a impossible software
>to use. I doubt I'm the only one who has complaint.
>
>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>that out.
>
>  || |||  
>
>Árni Arent Guðlaugsson
>Forritari og Autonomy sérfræðingur
>Íslandsvefir ehf.
>Thorvaldsensstræti 4
>101 Reykjavík / Iceland
>--
>Tel: +354 552 6300
>Fax: +354 552 6302
>E-mail: [EMAIL PROTECTED]
>http://www.islandsvefir.is/
>http://www.ha.is/
>
>Bættu ha.is á vefsíðuna þína:
>http://www.ha.is/almennt/tenging.asp
>
>|| |||  
>
>
>--
>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]>



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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

Well Netscape is still around and version 6.22 is damm good.  Remember
Netscape is part of the Sun/AOL alliance.

-Original Message-
From: Martin Mauri [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 12:55 PM
To: Tomcat Users List
Subject: Re: NIGHTMARE

Anyway I have a little scare about M$ strategies. Figure out that they
always have something under the hood. Remember the fight against IExplorer
and Netscape Navigator, who won?

- Original Message -
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 4:51 PM
Subject: RE: NIGHTMARE


> As usual, by the time they figure it out, it will be a fact two years
deep.
>
> -Original Message-
> From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 11:22 AM
> To: Tomcat Users List
> Subject: RE: NIGHTMARE
>
> While I am a big J2EE fan, I wonder if Microsoft has heard this news?
>
> -Original Message-
> From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 12:20 PM
> To: Tomcat Users List
> Subject: RE: NIGHTMARE
>
>
> Except PHP has no FUTURE.  The whole world is moving to J2EE.
>
> -Original Message-
> From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 10:14 AM
> To: Tomcat Users List
> Subject: Re: NIGHTMARE
>
> Good move!   If you find Tomcat hard, you need to stick to PHP.
>
> At 01:22 PM 4/8/02 +, you wrote:
> >Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
> >trying to make it work without success.
> >
> >Endless configuration files, paths, etc. making this a impossible
software
> >to use. I doubt I'm the only one who has complaint.
> >
> >I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
> >that out.
> >
> >  || |||  
> >
> >Árni Arent Guðlaugsson
> >Forritari og Autonomy sérfræðingur
> >Íslandsvefir ehf.
> >Thorvaldsensstræti 4
> >101 Reykjavík / Iceland
> >--
> >Tel: +354 552 6300
> >Fax: +354 552 6302
> >E-mail: [EMAIL PROTECTED]
> >http://www.islandsvefir.is/
> >http://www.ha.is/
> >
> >Bættu ha.is á vefsíðuna þína:
> >http://www.ha.is/almennt/tenging.asp
> >
> >|| |||  
> >
> >
> >--
> >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]>
>
>
>
> --
> 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: ibm jdk 1.3 or sun jdk 1.4 ?

2002-04-08 Thread Timlin, Bob

I use Sun JDK 1.4 and am happy with the performance.

-Original Message-
From: Ken Anderson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 26, 2002 1:29 PM
To: Tomcat Users List
Subject: ibm jdk 1.3 or sun jdk 1.4 ?

Which is faster for a tomcat webapp?
IBM JDK 1.3 or SUN JDK 1.4?
Any reported problems with 1.4 & Tomcat?
Any decent benchmarking tools I can download and test with myself?
Ken



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



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




RE: NIGHTMARE

2002-04-08 Thread Timlin, Bob

I read an article recently about why Microsoft is already dead.  Two points
were interesting.

1.  As PC's fall in price the percentage of the cost of the MS Tax
increases.
3.  Linux is already the official operating system of emerging economies of
India and China, as well as many Latin American countries.  Microsoft is
eyed suspiciously much more around the world then in the U.S.

-Original Message-
From: Martin Mauri [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 1:34 PM
To: Tomcat Users List
Subject: Re: NIGHTMARE

Yes I know. I have 6.22 and it works fine, though it's pretty heavy to start
up. Once it's up is damn good. And the interface rocks!

- Original Message -
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 5:33 PM
Subject: RE: NIGHTMARE


> Well Netscape is still around and version 6.22 is damm good.  Remember
> Netscape is part of the Sun/AOL alliance.
>
> -Original Message-
> From: Martin Mauri [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 12:55 PM
> To: Tomcat Users List
> Subject: Re: NIGHTMARE
>
> Anyway I have a little scare about M$ strategies. Figure out that they
> always have something under the hood. Remember the fight against IExplorer
> and Netscape Navigator, who won?
>
> - Original Message -
> From: "Timlin, Bob" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, April 08, 2002 4:51 PM
> Subject: RE: NIGHTMARE
>
>
> > As usual, by the time they figure it out, it will be a fact two years
> deep.
> >
> > -Original Message-
> > From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 08, 2002 11:22 AM
> > To: Tomcat Users List
> > Subject: RE: NIGHTMARE
> >
> > While I am a big J2EE fan, I wonder if Microsoft has heard this news?
> >
> > -Original Message-
> > From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 08, 2002 12:20 PM
> > To: Tomcat Users List
> > Subject: RE: NIGHTMARE
> >
> >
> > Except PHP has no FUTURE.  The whole world is moving to J2EE.
> >
> > -Original Message-
> > From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 08, 2002 10:14 AM
> > To: Tomcat Users List
> > Subject: Re: NIGHTMARE
> >
> > Good move!   If you find Tomcat hard, you need to stick to PHP.
> >
> > At 01:22 PM 4/8/02 +, you wrote:
> > >Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE
days
> > >trying to make it work without success.
> > >
> > >Endless configuration files, paths, etc. making this a impossible
> software
> > >to use. I doubt I'm the only one who has complaint.
> > >
> > >I won't use this crap, I'm switching to PHP, took me 5 minutes to
figure
> > >that out.
> > >
> > >  || |||  
> > >
> > >Árni Arent Guðlaugsson
> > >Forritari og Autonomy sérfræðingur
> > >Íslandsvefir ehf.
> > >Thorvaldsensstræti 4
> > >101 Reykjavík / Iceland
> > >--
> > >Tel: +354 552 6300
> > >Fax: +354 552 6302
> > >E-mail: [EMAIL PROTECTED]
> > >http://www.islandsvefir.is/
> > >http://www.ha.is/
> > >
> > >Bættu ha.is á vefsíðuna þína:
> > >http://www.ha.is/almennt/tenging.asp
> > >
> > >|| |||  
> > >
> > >
> > >--
> > >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]>
> >
> >
> >
> > --
> > 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]>


--
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: jk_nt_service fails (error 1067)

2002-04-09 Thread Timlin, Bob

Are you openning the JSP page on port 8080.  I.e.
http://localhost:8080/test.jsp


-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 1:48 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

I have ISA server to block all 8080 http requests coming from the Internet,
but nothing else that has to do with that port. I have no errors in my log
files. Tomcat starts fine and I can access Tomcat directly on port 8080. I
can also access my website (port 80). But when I try to open a jsp page it
is treated as a file.
/Alexander Höglind

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 6:23 PM
Subject: RE: jk_nt_service fails (error 1067)


Have you looked for a port conflict or tried starting tomcat on a different
port?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:19 AM
To: Tomcat User
Subject: jk_nt_service fails (error 1067)

Hi,
I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0
Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to
work.
I have disabled tomcat.exe in my services and restarted the server, but the
service doesn't start. My operating system is in swedish but this is an
error I found in this group that looks like it:
***
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
***
I couldn't find an answer to the old message so I ask again. Why can't I
have this service started. Just to see that it wasn't my server that was
messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it
generates the same error.

If I try to start the service in the Command Prompt (jk_nt_service -s
Tomcat) and it generates this error:
*
Asked (and given) winsoc
Starting Tomcat.
Tomcat failed to start.
*

The service is started by following command: jk_nt_service.exe Tomcat in
win2000 services.
If I try that in the Command Promt I get the following error:

Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.
***

Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache
Tomcat 4.0 ?


Thanx for any help,
Alexander Höglind




--
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: jk_nt_service fails (error 1067)

2002-04-09 Thread Timlin, Bob

So is the problem that IIS isn't forwarding JSP request to Tomcat?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 11:32 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

Yes,
I access jsp files on port 8080, behind the firewall.
Thanx,
Alexander

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 5:54 PM
Subject: RE: jk_nt_service fails (error 1067)


Are you openning the JSP page on port 8080.  I.e.
http://localhost:8080/test.jsp


-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 1:48 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

I have ISA server to block all 8080 http requests coming from the Internet,
but nothing else that has to do with that port. I have no errors in my log
files. Tomcat starts fine and I can access Tomcat directly on port 8080. I
can also access my website (port 80). But when I try to open a jsp page it
is treated as a file.
/Alexander Höglind

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 6:23 PM
Subject: RE: jk_nt_service fails (error 1067)


Have you looked for a port conflict or tried starting tomcat on a different
port?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:19 AM
To: Tomcat User
Subject: jk_nt_service fails (error 1067)

Hi,
I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0
Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to
work.
I have disabled tomcat.exe in my services and restarted the server, but the
service doesn't start. My operating system is in swedish but this is an
error I found in this group that looks like it:
***
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
***
I couldn't find an answer to the old message so I ask again. Why can't I
have this service started. Just to see that it wasn't my server that was
messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it
generates the same error.

If I try to start the service in the Command Prompt (jk_nt_service -s
Tomcat) and it generates this error:
*
Asked (and given) winsoc
Starting Tomcat.
Tomcat failed to start.
*

The service is started by following command: jk_nt_service.exe Tomcat in
win2000 services.
If I try that in the Command Promt I get the following error:

Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.
***

Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache
Tomcat 4.0 ?


Thanx for any help,
Alexander Höglind




--
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]>



--
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: jk_nt_service fails (error 1067)

2002-04-09 Thread Timlin, Bob

These are separate issues.  If request to 8080 work, tomcat is started and
working.  If JSP requests to 80 do not work, you have to fix that at the IIS
level not Tomcat.


-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 11:48 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

Yes IIS isn't forwording JSP requests to Tomcat and I guess, because that
jk_nt_service won't start. I get an error message when I try to start it. 

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 8:36 PM
Subject: RE: jk_nt_service fails (error 1067)


So is the problem that IIS isn't forwarding JSP request to Tomcat?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 11:32 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

Yes,
I access jsp files on port 8080, behind the firewall.
Thanx,
Alexander

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 5:54 PM
Subject: RE: jk_nt_service fails (error 1067)


Are you openning the JSP page on port 8080.  I.e.
http://localhost:8080/test.jsp


-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 1:48 AM
To: Tomcat Users List
Subject: Re: jk_nt_service fails (error 1067)

I have ISA server to block all 8080 http requests coming from the Internet,
but nothing else that has to do with that port. I have no errors in my log
files. Tomcat starts fine and I can access Tomcat directly on port 8080. I
can also access my website (port 80). But when I try to open a jsp page it
is treated as a file.
/Alexander Höglind

- Original Message - 
From: "Timlin, Bob" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 6:23 PM
Subject: RE: jk_nt_service fails (error 1067)


Have you looked for a port conflict or tried starting tomcat on a different
port?

-Original Message-
From: Alexander Höglind [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 9:19 AM
To: Tomcat User
Subject: jk_nt_service fails (error 1067)

Hi,
I'm using Tomcat 4.03 on win2000 server(sp2) and IIS 5.0
Tomcat seems to work fine (mysite.com:8080) but I can't get jk_nt_service to
work.
I have disabled tomcat.exe in my services and restarted the server, but the
service doesn't start. My operating system is in swedish but this is an
error I found in this group that looks like it:
***
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
***
I couldn't find an answer to the old message so I ask again. Why can't I
have this service started. Just to see that it wasn't my server that was
messed up, I installed tomcat on win2000 prof (sp2) with default IIS and it
generates the same error.

If I try to start the service in the Command Prompt (jk_nt_service -s
Tomcat) and it generates this error:
*
Asked (and given) winsoc
Starting Tomcat.
Tomcat failed to start.
*

The service is started by following command: jk_nt_service.exe Tomcat in
win2000 services.
If I try that in the Command Promt I get the following error:

Asked (and given) winsock 1.1
Error: StartServiceCtrlDispatcher failed.
***

Can it have to do with spaces in my tomcat installation dir. d:\Java\Apache
Tomcat 4.0 ?


Thanx for any help,
Alexander Höglind




--
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]>



--
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]>



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




SuSE 7.2 Security and Tomcat

2002-01-28 Thread Timlin, Bob

Well I have Tomcat installed on my SuSE 7.2 Linux and it works just great
accessing it from my LAN, however some people cannot access it from the
internet, though some can.  I have tested this out myself and cannot access
it from several places.  I believe this has to do with Security issues that
SuSE may be implementing.  Does anybody have any ideas on how to make it
accessible to all on the internet?

 

Thanks.

Bob.




JDBC Class Location on Linux

2002-01-29 Thread Timlin, Bob

Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks




RE: JDBC Class Location on Linux

2002-01-29 Thread Timlin, Bob

Thanks for the info.  Do I have to create the common/lib directory under
CATALINA.  My Tomcat doesn't have that directory.

Thanks,
Bob.

-Original Message-
From: Gapinski, Gary (GEL, MSX) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 9:34 AM
To: 'Tomcat Users List'
Subject: RE: JDBC Class Location on Linux

Rename classes12.zip to classes12.jar and place it in
CATALINA_HOME/common/lib.

-Original Message-----
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: JDBC Class Location on Linux


Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks


--
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: Tomcat shuts down logoff Windows 2000 Server

2002-01-30 Thread Timlin, Bob

This is a known bug with Tomcat, you can download JavaService (JavaSrvc)
from Apache's website.  Essentially it uses a different method for
generating an NT Service.  Here are the details, although it is a Tomcat3.3
example, it works the same for Tomcat4
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html


-Original Message-
From: Atok Koenig [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 30, 2002 4:22 PM
To: [EMAIL PROTECTED]
Subject: Tomcat shuts down logoff Windows 2000 Server

New to Tomcat

Installed Tomcat 4.0.1 on Windows 2000 server using local Admin account via
Windows Terminal Services. Runs fine when logged in and started via
startup.bat. DOS-type window titled "Catalina" opens saying "starting
service tomcat-standalone" and starting service tomcat-apache" each followed
by "Apache Tomkat/4.0.1". 

When I log out of terminal services java.exe stops running so server stops
responding. 

Thanks

Jakarta Tomcat 4.0.1
JDK 1.3.1_02
Windows 2000 Server SP2

-- 

___
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Win a ski trip!
http://www.nowcode.com/register.asp?affiliate=1net2phone3a



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



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




RE: Tomcat shuts down logoff Windows 2000 Server

2002-01-30 Thread Timlin, Bob

Make sure you read this part, it is very important.  Javaserv or JavaService
is what you want!

Notice for JDK 1.3 users: There is a known problem in JDK 1.3 that affects
Java applications being run as Windows NT services. The bug causes the
service to terminate when the currently logged in user logs out. The
simplest way to work around this problem is to use JDK 1.2. If your
application requires JDK 1.3 features then you may want to look into
javaserv or JavaService . Users have reported success with both of these
packages but there may be others that work as well. 


-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 30, 2002 4:43 PM
To: Tomcat Users List
Subject: RE: Tomcat shuts down logoff Windows 2000 Server

This is a known bug with Tomcat, you can download JavaService (JavaSrvc)
from Apache's website.  Essentially it uses a different method for
generating an NT Service.  Here are the details, although it is a Tomcat3.3
example, it works the same for Tomcat4
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html


-Original Message-
From: Atok Koenig [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 30, 2002 4:22 PM
To: [EMAIL PROTECTED]
Subject: Tomcat shuts down logoff Windows 2000 Server

New to Tomcat

Installed Tomcat 4.0.1 on Windows 2000 server using local Admin account via
Windows Terminal Services. Runs fine when logged in and started via
startup.bat. DOS-type window titled "Catalina" opens saying "starting
service tomcat-standalone" and starting service tomcat-apache" each followed
by "Apache Tomkat/4.0.1". 

When I log out of terminal services java.exe stops running so server stops
responding. 

Thanks

Jakarta Tomcat 4.0.1
JDK 1.3.1_02
Windows 2000 Server SP2

-- 

___
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Win a ski trip!
http://www.nowcode.com/register.asp?affiliate=1net2phone3a



--
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]>