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

Adriana,

        I got the same problem also before try this solution by JLW: It did work for 
me...

> >> > Hello,
> >> >
> >> >       I'm currently having problem accessing servlets from
> >> > the apache server.
> >> >
> >> >       Apache Web Server 1.3.11
> >> >       Apache JServe 1.1
> >> >       Running Under Windows 95 with WinSock2 on Pentium III 450Mhz
> >> >
> >> >  

> ApacheJServ/1.1: Exception creating the server socket: java.net.SocketException: 
>create (code=10106)


>Sorry no one took the time to tell you this - EVERYONE knows I've said it enough. :)

>(Did you review the old messages????)

>Win95 (JDK1.2.2 and other JDKs ????) has trouble running JServ in auto mode (this is 
>when Apache Server >starts JServ).

>Win98, WinNT and Win2K can run JServ in auto (Apache Server starts) or manual mode 
>(user starts).

>You have to start (run) JServ in manual mode ONLY on Win95.

>In dir: apache\conf (where ever you store the Apache Server conf file) edit 
>httpd.conf and add at end something >like this:

># Include the configuration for Apache JServ 1.1
>Include "e:\Apache32\Apache\jserv\conf\jserv.conf"

>In dir apache\jserv\ conf (where ever you store Apache JServ conf file) change this 
>in jserv.conf:

># Whether Apache must start Apache JServ or not (On=Manual Off=Autostart)
># Syntax: ApJServManual [on/off]
># Default: "Off"
>ApJServManual on

>Done with confs. 

>Now to start JServ manually (with a bat file or whatever):

>rem ----------------------------- ajrun.bat ---------------
>D:\jdk1.2.2\bin\java -version

>SET JSRoot=E:\apache32\apache\jserv
>SET JSProperties=%JSRoot%\conf\jserv.properties
>SET CP=%JSRoot%\ApacheJServ.jar;E:\jsdk2.0\lib\jsdk.jar

>D:\jdk1.2.2\bin\java -cp %CP% org.apache.jserv.JServ %JSProperties%

>rem ------------------------- end ajrun.bat -------------

>Running ajrun.bat has Java display the version - shows that the bat file ran and what 
>Java is used. Then the bat >file sets locations for the needed conf files and jar 
>files. The needed jar files are the ApacheJServ.jar and the >Sun Servlet 2.0 (and 
>only 2.0)  jsdk.jar. Then the bat file sets a classpath to those jars (SET 
>CP=blabla). Then >the bat file calls Java (where ever it is stored) with the added 
>classpath -cp %CP%. Then java finds >org.apache.jserv.JServ and runs it with the info 
>in %JSProperties%.

>So start Apache Server 
>Apache/1.3.11 (Win32) ApacheJServ/1.1 running...

>In another window type ajrun.bat
>ApacheJServ/1.1 

>Then test your JServ through Apache Server and test your servlets.

>http://localhost/jserv/
>or
>http://localhost/servlet/IsItWorking
>http://localhost/servlets/IsItWorking

>The seperate window for starting JServ comes in handy for debugging your servlets. 

>Enjoy,
>JLW

        Hope this helps...

Jackson


*********** REPLY SEPARATOR  ***********

On 3/15/00 at 10:47 AM [EMAIL PROTECTED] wrote:

>Iīm trying to use Apache 1.3.12 and Apache Jserv 1.1 and Windows 95. I can
>access pages, but i canīt run a servlet.
>The erros in jserv.log is ApacheJServ/1.1: Exception creating the server
>socket: java.net.SocketException: create (code=10106)
>What i have to do? I canīt install the win98...
>Thanks,
>Adriana.
>
>__________________________________

  International Micro Village Inc.
  Suite 204 MEC Bldg. Alfaro cor. Herrera Sts.
  Salcedo Village, Makati. 1227, Philippines
  Tel # (632) 751-2130
  Fax # (632) 751-21-33
  URL : http://www.imvi.com.ph
  E-Mail : [EMAIL PROTECTED]

 



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