AW: configuration problem

2003-07-15 Thread Grossert Alexander EXT
Do you wrote the application by yourself, or do you have the source code at least?
If so, youo could go to the position where your shared library is loaded. It should 
look like this:

static{
   System.loadLibrary(xmlpar);
}
If you change this to

System.load(/opt/lotus/notes/60010/linux/libxmlpar.so);

it should work. If you're not able to change the code try updating the CLASSPATH env 
with the path where your library
is situated. And don't append your path to the PATH var. Write yourPath:$PATH - I've 
experienced this to work sometimes.


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 15. Juli 2003 14:29
An: [EMAIL PROTECTED]
Betreff: configuration problem


Hi all,

I'am struglling with an application using Lotus Domino Taglibs. When 
accessing the jsp i always get a tomcat error page telling:

...
org.apache.jasper.JasperException: no lsxbe in java.library.path
 at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
 at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 and so on

For this reason I changed the startup script adding the parameter

 -Djava.library.path=$PATH:/opt/lotus/notes/latest/linux

after this it seems tomcat is able to find the shared library but it'll 
raise another error:

...
org.apache.jasper.JasperException: 
/opt/lotus/notes/60010/linux/liblsxbe.so: libxmlpar.so: cannot load shared 
object file: No such file or directory
 at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
 at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
... and so on

the recomended file libxmlpar.so is in the same directory as the 
liblsxbe.so, so i wonder why tomcat can't find this

the tomcat server is version 4.1 and is  running on SuSE Linux 7.2, my JDK 
is version 1.4.1_02 from Sun.


any help is appreciated
Andreas

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



Re: AW: configuration problem

2003-07-15 Thread awischer
both library's are precompiled and are delivered as part of the domino 
server  without sourcecode. So, there is no chance to change it. 
Adding the library path to CLASSPATH dosen't really help. 
This is the part of catalina.sh i've changed for getting the second error 
message:

---schnipp--
  $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \
  -Djava.library.path=$PATH:/opt/lotus/notes/latest/linux: \
  -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath 
/opt/lotus/notes/latest/linux:$CLASSPATH \
  -Dcatalina.base=$CATALINA_BASE \
  -Dcatalina.home=$CATALINA_HOME \
  -Djava.io.tmpdir=$CATALINA_TMPDIR \
  org.apache.catalina.startup.Bootstrap $@ start \
   $CATALINA_BASE/logs/catalina.out 21 
---schnapp---

any other idea ??

AW: AW: configuration problem

2003-07-15 Thread Grossert Alexander EXT
I'm sorry! Then I don't have an idea either.

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 15. Juli 2003 14:53
An: Tomcat Users List
Betreff: Re: AW: configuration problem


both library's are precompiled and are delivered as part of the domino 
server  without sourcecode. So, there is no chance to change it. 
Adding the library path to CLASSPATH dosen't really help. 
This is the part of catalina.sh i've changed for getting the second error 
message:

---schnipp--
  $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \
  -Djava.library.path=$PATH:/opt/lotus/notes/latest/linux: \
  -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath 
/opt/lotus/notes/latest/linux:$CLASSPATH \
  -Dcatalina.base=$CATALINA_BASE \
  -Dcatalina.home=$CATALINA_HOME \
  -Djava.io.tmpdir=$CATALINA_TMPDIR \
  org.apache.catalina.startup.Bootstrap $@ start \
   $CATALINA_BASE/logs/catalina.out 21 
---schnapp---

any other idea ??

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



RE: AW: configuration problem

2003-07-15 Thread Ralph Einfeldt
Try to strace the tomcat process to find out where 
tomcat is looking for the library.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 2:53 PM
 To: Tomcat Users List
 Subject: Re: AW: configuration problem
 
 
 both library's are precompiled and are delivered as part of 
 the domino server  without sourcecode. So, there is no chance 
 to change it. 
 Adding the library path to CLASSPATH dosen't really help. 
 This is the part of catalina.sh i've changed for getting the 
 second error message:
 
 ---schnipp--
   $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \
   -Djava.library.path=$PATH:/opt/lotus/notes/latest/linux: \
   -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath 
 /opt/lotus/notes/latest/linux:$CLASSPATH \
   -Dcatalina.base=$CATALINA_BASE \
   -Dcatalina.home=$CATALINA_HOME \
   -Djava.io.tmpdir=$CATALINA_TMPDIR \
   org.apache.catalina.startup.Bootstrap $@ start \
$CATALINA_BASE/logs/catalina.out 21 
 ---schnapp---
 
 any other idea ??
 

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



RE: AW: configuration problem

2003-07-15 Thread awischer
hm, may be it sound's like I'm a little bit stupid but... can you tell me 
howto or even better where to read?

thanx
andreas

RE: AW: configuration problem

2003-07-15 Thread Ralph Einfeldt
strace is a standard linux program that prints out system calls.
(Like truss under solaris)

You can either attach it to a running process 
or trace a program from scratch.


Sources for information:
  man strace

  http://www.wi.leidenuniv.nl/~wichert/strace/
  http://www.die.net/doc/linux/man/man1/strace.1.html

  http://www.google.de/search?q=linux+strace

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 4:04 PM
 To: Tomcat Users List
 Subject: RE: AW: configuration problem
 
 
 hm, may be it sound's like I'm a little bit stupid but... can 
 you tell me 
 howto or even better where to read?
 
 thanx
 andreas
 

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