Hi,

I ran into build problems on HPUX 10.20 with ApacheJserv 1.0 (also with 1.0b5).
I traced it to the following lines in src/scripts/build/unix/ltconfig:

hpux9* | hpux10* | hpux11*)
  # Give a soname corresponding to the major version so that dld.sl refuses to
  # link against other versions.
  dynamic_linker="$host_os dld.sl"
  version_type=sunos
  shlibpath_var=SHLIB_PATH
-->  library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so$major $libname.so'
-->  soname_spec='${libname}${release}.so$major'
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  postinstall_cmds='chmod 555 $lib'
  ;;

The spec for shared libraries (at least on HPUX 10.20) is .so not .sl. When I
change the .sl to .so Apache Jserv builds correctly out of the box. Has anyone
else experienced the same problem? Unless they are objections I would like to
submit a patch to fix this problem.

Thanks!
Steve Nielsen
[EMAIL PROTECTED]

-----Original Message-----
From: "Java Apache Users" <[EMAIL PROTECTED]> at
INTERNET-mail
Sent: Tuesday, June 15, 1999 7:40 AM
To: <[EMAIL PROTECTED]> at INTERNET-MAIL
Subject: Setting up Aliases for Packaged Servlets?


I'm having a problem, which I believe is centered around trying to get Jserv
to use an alias to reference a servlet compiled into a package.

I've got the following...
Apache 1.3.6, JServ 1.0, JBuilder 2.0, Windows 98

My JServ setup has the following directory and class files

...Apache Jserv/servlets/EIMuser/<many servlets>.class
(all these servlets were compiled in JBuilder, with "package EIMuser;")

The 'eim' zone points to ...\servlets\EIMuser as the respository.

The following works fine...

http://localhost/servlets/EIMuser.LoginEIM

however if I try to create an alias with

servlet.LoginEIM.code=EIMuser.LoginEIM in the corresponding eim.properties
file

the following does not work

http://localhost/servlets/LoginEIM

which produces a Servlet not found error.

I can successfully create aliases for servlets that are not included in
packages, however everytime I try to reference one of my servlets compiled
into 'package EIMuser' I get a not found error.

Does anyone have any clues?

The servlets work under JRun with an alias set up of 'name=LoginEIM' and
'class=EIMuser.LoginEIM'.  I'd much rather use JServ if I can get it to
recognize my servlets better.

Thanks
Jeff Cooke
Midland TX






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


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

Reply via email to