error htdocs

2003-02-20 Thread MARIO HENLEY BECERRIL GELDIS


  Hi managers

  I have runing Tomcat with aparache, this evening httpd send this error:

  [04/01/2000 16:37:33:547] (EMERGENCY) ajp12[1]: cannot scan servlet
headers
(500)
[04/01/2000 16:37:33:547] (ERROR) an error returned handling request via
protocol "ajpv12"

  And jsp doesn't run

  Ideas..??

--
Mario Henley Becerril Geldis
.jA
.nimdA smetsyS



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Jserv..

2003-02-11 Thread Mario Henley Becerril Geldis


 Look i have Jserv, but when review jserv.conf and jserv.properties, i
find this parameters:
 
  # If the total number of processes specified in jserv.conf is n, then
  # at least n ports should be specified.
  port=8900
 
  But in jserv.conf find
 
  ApJServManual auto
 
 
  ApJServDefaultPort 8900
 
 
  :-(  how to know...number for jserv ports if ApJServManual set to
auto...and my logs send this error...


--
Mario Henley Becerril Geldis
.jA
.nimdA smetsyS 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Jserv...

2003-02-10 Thread MARIO HENLEY BECERRIL GELDIS

  Hi managers


  Look i have Jserv, but when review jserv.conf and jserv.properties, i
find this parameters:

  # If the total number of processes specified in jserv.conf is n, then
  # at least n ports should be specified.
  port=8900

  But in jserv.conf find

  ApJServManual auto


  ApJServDefaultPort 8900


  :-(  how to know...number for jserv ports if ApJServManual set to
auto...and my logs send this error...

   ApacheJserv../:failed to bind to port(s) specified in
../jserv.properties. Please check ../jserv.properties and jserv.conf file,
amd make sure of Jserv process specified in jserv.conf is less than number
of ports specified in ../jserv.properties. and the ports are not used by
other processes.

 
  Tnk's




--
Mario Henley Becerril Geldis
.jA
.nimdA smetsyS



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Error..

2003-01-15 Thread MARIO HENLEY BECERRIL GELDIS


  Hi Managers.


   I have a sun box with oracle...i probe with lot of conections to my
server, my jsp's generate this error:

   OPM: Can not find one alive process
   java.lang.NullPointerException
at  org.Apache.jserv.JServConnection.run
at  java.lang.Thread.run

   OPM[warn] OPM: ADM: process 1175 created server process(group, group1,
module Jserv), and inserted in proctable as entry 0

   When this happen my server doesn't accept conections but when release
some conections, it's up and run again


   any ideas..??

--
Mario Henley Becerril Geldis
.jA
.nimdA smetsyS

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




connection type....

2002-07-25 Thread Mario Henley Becerril Geldis



  I have some scripts under win2000, this run fine, but when i try run
this under Linux, doesn't run...

  If change the connection string, run fine...why..??


  WIN2000 connection string:

DBABeanTest.createConnection("oracle.jdbc.driver.OracleDriver","jdbc:oracle:thin:@www.domain:1521:","","");


  Linux


 DriverManager.getConnection ("jdbc:oracle:thin:@(DESCRIPTION
=(ADDRESS_LIST =(ADDRESS 
= (PROTOCOL = TCP)(HOST = 192.168.200.10)(PORT = 1521)))(CONNECT_DATA
=(SERVICE_NAME = (SRVR 
= DEDICATED)))","","");



  any ideas..??


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Compile a class...

2002-07-23 Thread Mario Henley Becerril Geldis




When i try compile my class say this error...

 
bash$ java DBABean
Exception in thread "main" java.lang.NoClassDefFoundError: DBABean (wrong
name: IEEMBeans/DBABean)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
bash$ pwd
/tomcat/webapps/examples/WEB-INF/classes
bash$ 

   
any ideas..??


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Classes..

2002-07-22 Thread Mario Henley Becerril Geldis



   I have a directory named (myfiles) with some classes, if i want tomcat
load this files, i will be copy to ../examples/WEB-INF/classes/myfiles..??

  And i will build this package..??



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Jsp and class..

2002-07-22 Thread Mario Henley Becerril Geldis



  Hi...

 sorry but my jsp doesn't run...


 my class have this code:

 import java.sql.*; 

import java.io.*; 

import java.util.Date; 

class JdbcTest

{ 

  public static void main (String args []) 

  throws SQLException, IOException

  { 

System.out.println ("Loading Oracle driver"); 

try 
   {

  Class.forName ("oracle.jdbc.driver.OracleDriver");
  
} 

catch (/*ClassNotFound*/ Exception e) 

{

  System.out.println ("Could not load the driver"); 

  e.printStackTrace (); 

 }

System.out.println ("Connecting to the remote database"); 

 Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@(DESCRIPTION
 =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.4)(PORT =
1521)))(CON
NECT_DATA =(SERVICE_NAME = abc)(SRVR = DEDICATED)))","scott","scott");

System.out.println ("OK");
Statement stmt = conn.createStatement (); 

// Query the employee names 

ResultSet rset = stmt.executeQuery ("SELECT dttofed From TABLE");

while (rset.next ()) 
  
  { 

// Print the name out 

System.out.println (rset.getString (1)); 
  } 

  } 
  
} 


  and my jsp have this:  i'm not include the class in my jsp code. only
i rewrote  this... 



<%@ page import="java.sql.*" %>

Simple Oracle Example


Employees

<%
   Connection conn = null;
   try
   {
  Class.forName ("oracle.jdbc.driver.OracleDriver");

  conn = DriverManager.getConnection ("jdbc:oracle:thin:@(DESCRIPTION
=(ADDRESS
_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.4)(PORT =
1521)))(CONNECT_DATA 
=(SERVICE_NAME = abc)(SRVR = DEDICATED)))","scott","scott");

  Statement stmt = conn.createStatement();
  ResultSet rs = stmt.executeQuery("SELECT dttofed From  TDFDF97");

//Print start of table and column headers
  out.println("");
  out.println("IDNAME");

  //Loop through results of query.
  while (rs.next ()) 
  
  { 

// Print the name out 

 out.println("");
 out.println("" + "registro" + "");
 out.println("" + rs.getString(1) + "");
 out.println("");
  } 

  out.println("");
   }
   catch(SQLException e)
   {
  out.println("SQLException: " + e.getMessage() + "");
  while((e = e.getNextException()) != null)
 out.println(e.getMessage() + "");
   }
   
 catch(ClassNotFoundException e)
{

  out.println ("Could not load the driver"); 

  e.printStackTrace (); 

 }
   finally
   {
  //Clean up resources, close the connection.
  if(conn != null)
  {
 try
 {
conn.close();
 }
 catch (Exception ignored) {}
  }
   }
%>







   But when i run the last code on my server this say:


Employees 

  Could not load the driver 


  When my java class run fine


  why..???

 

   


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Run class on jsp

2002-07-22 Thread Mario Henley Becerril Geldis



  I am a beginner on JSP enviroment..

  I have a class file, this connect a Oracle database, and query to single
table...now i want run this class on a jsp page...how i do it..??

  my code:

  import java.sql.*; 

import java.io.*; 

import java.util.Date; 

class JdbcTest

{ 

  public static void main (String args []) 

  throws SQLException, IOException

  { 
System.out.println ("Loading Oracle driver"); 

try 

{

  Class.forName ("oracle.jdbc.driver.OracleDriver");
  
} 

catch (/*ClassNotFound*/ Exception e) 

{

  System.out.println ("Could not load the driver"); 

  e.printStackTrace (); 

 }

System.out.println ("Connecting to the remote database"); 

 Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@(DESCRIPT
ION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.4)(PORT =
1521)
))(CONNECT_DATA =(SERVICE_NAME = votoedos)(SRVR =
DEDICATED)))","scott","enie");

System.out.println ("OK");
Statement stmt = conn.createStatement (); 

// Query the employee names 

ResultSet rset = stmt.executeQuery ("SELECT dttofed From
TDFDF97_NL");

while (rset.next ()) 
  
  { 

// Print the name out 

System.out.println (rset.getString (1)); 

  } 
  } 
  
} 


  



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




java jdbctest (fwd)

2002-07-18 Thread Mario Henley Becerril Geldis



   $javac jdbctest.java run fine, but when i try $java jdbctest, this say:

  Exception in thread "main" java.lang.NoClassDefFoundError: jdbctest

   my
CLASSPATH=/usr/local/source/oraInventory/jdbc/lib/classes12.jar:
/usr/local/source/oraInventory/jdbc/lib/nls_charset12.jar:
/usr/java/j2sdk1.4.1/lib/tools.jar:/usr/java/j2sdk1.4.1/jre/lib/rt.jar:
/usr/local/tomcat/common/lib/servlet.jar:/usr/java/j2re1.4.1/lib


   my code:

  import java.sql.*; 
  import java.io.*; 
  import java.util.Date; 
  class JdbcTest
  { 

  public static void main (String args []) 

  throws SQLException, IOException

  { 

System.out.println ("Loading Oracle driver"); 

try 

{
  Class.forName ("oracle.jdbc.driver.OracleDriver");
  
} 

catch (/*ClassNotFound*/ Exception e) 

{

  System.out.println ("Could not load the driver"); 

  e.printStackTrace (); 

 }

System.out.println ("Connecting to the local database"); 


Connection conn =

  DriverManager.getConnection
(
 "jdbc:oracle:thin:@myserver:1521:example",
 "example",  // ## fill in User here
 "example" // ## fill in Password here
);


System.out.println ("OK");
Statement stmt = conn.createStatement (); 

// Query the employee names 

ResultSet rset = stmt.executeQuery ("SELECT field1 From
TDFDF97_NL");

while (rset.next ()) 
  
  { 

// Print the name out 

System.out.println (rset.getString (1)); 

  } 
  } 
  
} 



  any ideas..???



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: tomcat+jdbc

2002-07-17 Thread Mario Henley Becerril Geldis

> 
> Quote:
>   root cause 
> java.lang.NullPointerException
>   at IEEMBeans.DBABean.createStatement(DBABean.java:71)
> 
> IEEMBeans.DBABean is yours, no?  



   yes, ...and this exist under ../example/WEB-INF/classes/IEEMBeans/ ,
the named is DBABean..


   why..???


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




another quiestion

2002-07-16 Thread Mario Henley Becerril Geldis





   WEB-INF directory will be create under ../webapps/examples, that
right..??? if i have this code in ../examples/jsps/example1.jsp:


  <%@ page import = "IEEMBeans.HtmlWriterBean" %>
  <%@ page import = "IEEMBeans.FunctionsBean" %>

   under ../examples/WEB-INF/classes/i will be create a directory
IEEMBeans,
for load this classes..?? it's ../examples/WEB-INF/classes/...contains the
HtmlWriterBean and FunctionsBean ...???

:-(
   






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




tomcat+jdbc

2002-07-16 Thread Mario Henley Becerril Geldis




  Now my classes are loaded, but the compiler send this errorany
ideas..???

  org.apache.jasper.JasperException
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:246)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
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:260)


   bla..bla...bla..



  root cause 

java.lang.NullPointerException
at IEEMBeans.DBABean.createStatement(DBABean.java:71)
at
org.apache.jsp.tdfS94_0005fBC$jsp._jspService(tdfS94_0005fBC$jsp.java:191)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


  bla..bla..bla..


 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




tomcat+jdbc (fwd)

2002-07-16 Thread Mario Henley Becerril Geldis


  WEB-INF..?, this directory exist on my example dir, well, i have a jdbc
for oracle...i download this from oracle.com.  But server.xml on my tomcat
contains lines for jdbc realm, my quiestion is, this driver can connect to
oracle database...and how i do it..??


>  I have tomcat with apache 1.3.26 and mod_jk, i run fine jsp examples,
but when i try run jsp with jdbc connection to oracle database tomcat send
a error...

 my profile is it:

 JAVA_HOME=/usr/local/source/oraInventory/jdk
export JAVA_HOME
JUNIT_HOME=/usr/java/juni
export JUNIT_HOME
export
CLASSPATH=$JUNIT_HOME/junit.jar:/usr/local/tomcat/server/lib/classes111.j
ar

 the error is it:

 org.apache.jasper.JasperException: No se puede compilar la clase para JSP
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:481)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
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:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:471)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)

  .
.
.
.
.
.
.

An error occurred at line: 48 in the jsp file: /jsps/tdfdf94_ags.jsp

Generated servlet error:
/usr/local/tomcat/work/Standalone/localhost/examples/jsps/tdfdf94_0005fags$jsp.java:175:
 cannot
resolve symbol
symbol  : class DBABean  
location: package IEEMBeans
DBABeanAux =
(IEEMBeans.DBABean) java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"IEEMBeans.DBABean");
   ^
15 errors


at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:311)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:322)



  any ideas..???
 
 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




tomcat+jdbc

2002-07-16 Thread Mario Henley Becerril Geldis



  Hi...

  I have tomcat with apache 1.3.26 and mod_jk, i run fine jsp examples,
but when i try run jsp with jdbc connection to oracle database tomcat send
a error...

 my profile is it:

 JAVA_HOME=/usr/local/source/oraInventory/jdk
export JAVA_HOME
JUNIT_HOME=/usr/java/juni
export JUNIT_HOME
export
CLASSPATH=$JUNIT_HOME/junit.jar:/usr/local/tomcat/server/lib/classes111.j
ar

 the error is it:

 org.apache.jasper.JasperException: No se puede compilar la clase para JSP
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:481)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
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:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:471)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)

  .
.
.
.
.
.
.

An error occurred at line: 48 in the jsp file: /jsps/tdfdf94_ags.jsp

Generated servlet error:
/usr/local/tomcat/work/Standalone/localhost/examples/jsps/tdfdf94_0005fags$jsp.java:175:
 cannot
resolve symbol
symbol  : class DBABean  
location: package IEEMBeans
DBABeanAux =
(IEEMBeans.DBABean) java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"IEEMBeans.DBABean");
   ^
15 errors


at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:311)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:322)



  any ideas..???
 
 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_jk for Linux (Tomcat 4.0.4/Apache 1.3.26)

2002-07-15 Thread Mario Henley Becerril Geldis


> Where do I find mod_jk.so (Linux) along with the configuration files
> (workers.properties, mod_jk.conf etc.) for Tomcat 4.0.4 for use with Apache
> 1.3.26?

   good address  http://www.galatea.com/flasguides


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Apache+tomcat4.1.7+webapp

2002-07-12 Thread Mario Henley Becerril Geldis


> try compiling the source distribution of webapp
 
  i compile my mod_webapp.so with -DEAPI but when start apache this say:

   [Fri Jul 12 19:59:00 2002] [notice] Apache/1.3.26
(Unix) mod_webapp/1.2.0-dev mod_ssl/2.8.9 OpenSSL/0.9.6b configured --
resuming normal operations
[Fri Jul 12 19:59:00 2002] [notice] Accept mutex: sysvsem
(Default: sysvsem)
[Fri Jul 12 19:59:00 2002] [error] Connection "warpConnection" cannot
connect
[Fri Jul 12 19:59:00 2002] [error] Cannot open connection
"warpConnection"


  lines in my httpd.conf are this:

  LoadModule webapp_module libexec/mod_webapp.so
  
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
  


  any ideas..??
  
  

>  I have apache 1.3.26 with tomcat 4.1.7 and binary webapp, when i run
> apachectl start, this say:
> 
>  [Fri Jul 12 14:09:37 2002] [warn] Loaded DSO libexec/mod_webapp.so uses
> plain Ap
> ache 1.3 API, this module might crash under EAPI! (please recompile it
> with -DEA
> PI)




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Apache+tomcat4.1.7+webapp

2002-07-12 Thread Mario Henley Becerril Geldis



 I have apache 1.3.26 with tomcat 4.1.7 and binary webapp, when i run
apachectl start, this say:

 [Fri Jul 12 14:09:37 2002] [warn] Loaded DSO libexec/mod_webapp.so uses
plain Ap
ache 1.3 API, this module might crash under EAPI! (please recompile it
with -DEA
PI)
[Fri Jul 12 14:09:37 2002] [warn] module mod_webapp.c is already added,
skipping
[Fri Jul 12 14:09:37 2002] [notice] Apache/1.3.26 (Unix) mod_ssl/2.8.9
OpenSSL/0
.9.6b configured -- resuming normal operations
[Fri Jul 12 14:09:37 2002] [notice] Accept mutex: sysvsem
(Default: sysvsem)
[Fri Jul 12 14:09:37 2002] [error] Connection "conn" cannot connect
[Fri Jul 12 14:09:37 2002] [error] Cannot open connection "conn"
[Fri Jul 12 14:09:37 2002] [error] Connection "conn" cannot connect


  any ideas..??



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: mod_webapp.so

2002-07-08 Thread Mario Henley Becerril Geldis

On Fri, 5 Jul 2002, Ten-Hung Chu wrote:

> As I mentoned below, you need to add this line
> 
> AddModule mod_webapp.c
> 
> after the LoadModule line in httpd.conf, check INSTALL.txt for more detail.


  Document say:


   


   But when i try ckeck config apache say:

  #apachectl configtest

  Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration

   Any ideas..???


  I compile apache with  --enable--rule=SHARED_CORE  for enable DSO...



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: mod_webapp.so

2002-07-05 Thread Mario Henley Becerril Geldis


> What versions of Apache and Tomcat? If it is Apache 1.3, you need to add
> AddModule mod_webapp.c after LoadModule.


   yes, i have apache 1.3.26 and binary tomcat 4.0.4


   I configure apache which prefix --enable--rule=SHARED_CORE, it's
sufficient..???


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




mod_webapp.so

2002-07-05 Thread Mario Henley Becerril Geldis




   I compile and make my mod_webapp.so, but when i try run apachectl this
say:

 Syntax error on line 211 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_webapp.so into
server: /usr/local/apache/libexec/mod_webapp.so: undefined
symbol: apr_atomic_init


   My httpd.conf:


   LoadModule webapp_module libexec/mod_webapp.so
   WebAppConnection warpConnection warp www.mydomain:8008
   WebAppDeploy examples warpConnection /examples/

   

   why..???


   :-(


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Apache for jsp...

2002-07-04 Thread Mario Henley Becerril Geldis


> If you want to run Apache HTTPd and Tomcat, you need some connection module
> for Apache to talk to tomcat. Like mod_jk or mod_webapp. However if your
> site does not have too much traffic and you don't mind serving static files
> through tomcat, you can run tomcat on port 80 by itself. Just modify
> server.xml and change 8080 to 80.


  but, where i obtain mod_webapp..???


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Apache for jsp...

2002-07-04 Thread Mario Henley Becerril Geldis




  Is posible run tomcat on port 80..???

  i want run my server with http://www.mydomain/example.jsp and no with
http://www.mydomain:8080/example.jsp...

  but i don't known if i will modify my httpd.conf for load my
context...or i need aditional module..???
  


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Apache and tomcat...

2002-07-04 Thread Mario Henley Becerril Geldis

> 
>i have a tomcat 4.0 and apache server
> 
>But when i load http://www.mydomain:8080, not display any page
> 
> 
>is necesary additional module for run jsp pages with apache...???
> 


sorry is my firewall


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Apache and tomcat...

2002-07-04 Thread Mario Henley Becerril Geldis



   i have a tomcat 4.0 and apache server

   But when i load http://www.mydomain:8080, not display any page


   is necesary additional module for run jsp pages with apache...???


   


--
To unsubscribe, e-mail:   
For additional commands, e-mail: