----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello!
#1. What version of Apache JServ you are using
    Apache1.1b3
#2. What version of Apache you are using
    1.3.6
#3. What OS and OS version you are using
    Linux, 2.2.13
#4. An exact description of what is going wrong (pretend that we are not 
    there and we cannot see what you are doing). Include any useful log 
    file output as well.

    I want to start the Jserv manually so that it can spit out a pasword 
    and I can debug my servlets. I looked at the apache web site and created
the 
    following script 
    #!/bin/sh
    properties=/usr/local/apache/conf/jserv/jserv.properties
    log=/tmp/jserv_manual.log
    CLASSPATH=$JDK/lib/classes.zip:/usr/jsdk/lib/jsdk.jar:/u1/shared/java
    CLASSPATH=$CLASSPATH:/usr/local/apache/libexec/ApacheJServ.jar
    CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/servlet-2.0-plus.jar
    CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/gnujsp10.jar
    java_g  -cs -debug -Djava.compiler=NONE -classpath $CLASSPATH \
             org.apache.jserv.JServ $properties $1

    I run the script as jserv -r 
    But I got a NULL pointer exception. On examining the code I found 
    that the base class initialization of the AuthenticatedSocket is failing.  
  
    The address to the constructor is "127.0.0.0" and port="8007". I had
changed
    jserv.properties to switch off automatic loading of JServ when httpd 
    starts.
 
public AuthenticatedSocket(String address, int port) throws IOException{
        super(address, port);
}

          
Any help will be highly appreciated.

Rajan Gupta
eShare Technologies
>
>
>=====
>Cheers,
>Hello!
>#1. What version of Apache JServ you are using
>    Apache1.1b3
>#2. What version of Apache you are using
>    1.3.6
>#3. What OS and OS version you are using
>    Linux, 2.2.13
>#4. An exact description of what is going wrong (pretend that we are not 
>    there and we cannot see what you are doing). Include any useful log 
file 
>    output as well.
>
>    I want to start the Jserv manually so that it can spit out a pasword 
and I 
>   can debug my servlets. I looked at the apache web site and created the 
   
>following script 
>    #!/bin/sh
>    properties=/usr/local/apache/conf/jserv/jserv.properties
>    log=/tmp/jserv_manual.log
>    CLASSPATH=$JDK/lib/classes.zip:/usr/jsdk/lib/jsdk.jar:/u1/shared/java
>    CLASSPATH=$CLASSPATH:/usr/local/apache/libexec/ApacheJServ.jar
>    
CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/servlet-2.0-plus.jar
>    CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/gnujsp10.jar
>    java_g  -cs -debug -Djava.compiler=NONE -classpath $CLASSPATH
>             org.apache.jserv.JServ $properties $1
>
>    I run the script as jserv -r 
>    But I got a NULL pointer exception. On examining the code I found 
that the
>base class initialization of the AuthenticatedSocket is failing. The 
address
>to the constructor is "127.0.0.0" and port="8007". I had changed
>jserv.properties to switch off automatic loading of JServ when httpd 
starts.
> 
>public AuthenticatedSocket(String address, int port) throws IOException{
>        super(address, port);
>   }
>
>
>#5. Your Apache JServ configuration in Apache
>
>any help will be highly appreciated.
>
>Rajan Gupta
>eShare Technologies
>
>
>=====
>Cheers,


--- Java Apache Users <[EMAIL PROTECTED]> wrote:
> >--0-424238335-943374471=:21644
> >Content-Type: text/plain; charset=us-ascii
> >Content-Disposition: inline
> >
> >Hello!
> >#1. What version of Apache JServ you are using
> >    Apache1.1b3
> >#2. What version of Apache you are using
> >    1.3.6
> >#3. What OS and OS version you are using
> >    Linux, 2.2.13
> >#4. An exact description of what is going wrong (pretend that we are not 
> >    there and we cannot see what you are doing). Include any useful log 
> file 
> >    output as well.
> >
> >    I want to start the Jserv manually so that it can spit out a pasword 
> and I 
> >   can debug my servlets. I looked at the apache web site and created the 
>    
> >following script 
> >    #!/bin/sh
> >    properties=/usr/local/apache/conf/jserv/jserv.properties
> >    log=/tmp/jserv_manual.log
> >    CLASSPATH=$JDK/lib/classes.zip:/usr/jsdk/lib/jsdk.jar:/u1/shared/java
> >    CLASSPATH=$CLASSPATH:/usr/local/apache/libexec/ApacheJServ.jar
> >    
> CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/servlet-2.0-plus.jar
> >    CLASSPATH=$CLASSPATH:/home/httpd/servlets/generic/gnujsp10.jar
> >    java_g  -cs -debug -Djava.compiler=NONE -classpath $CLASSPATH
> >             org.apache.jserv.JServ $properties $1
> >
> >    I run the script as jserv -r 
> >    But I got a NULL pointer exception. On examining the code I found 
> that the
> >base class initialization of the AuthenticatedSocket is failing. The 
> address
> >to the constructor is "127.0.0.0" and port="8007". I had changed
> >jserv.properties to switch off automatic loading of JServ when httpd 
> starts.
> > 
> >public AuthenticatedSocket(String address, int port) throws IOException{
> >        super(address, port);
> >   }
> >
> >
> >#5. Your Apache JServ configuration in Apache
> >
> >any help will be highly appreciated.
> >
> >Rajan Gupta
> >eShare Technologies
> >
> >
> >=====
> >Cheers,
> >
> 
> Your message could not be posted to the Java Apache Users list because the 
> message seemed to contain an enclosure.
> 
> For more information, you can contact the list administrator at:
>  
>     Bounces <[EMAIL PROTECTED]>
> 
> 


=====
Cheers,

Rajan Gupta
Object Infrastructure,
Melita Intl. Corp.
Norcross, GA

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to