Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] eXist port after installing by means of the rpm

Subject: perfsonar development work

List archive

Re: [pS-dev] eXist port after installing by means of the rpm


Chronological Thread 
  • From: Stijn Melis <>
  • To:
  • Cc: Guilherme Fernandes <>, "" <>
  • Subject: Re: [pS-dev] eXist port after installing by means of the rpm
  • Date: Tue, 05 Feb 2008 17:31:07 +0100

Hi Frederic,

I am trying to reinstall everything from scratch.

I installed both perfsonar-tomcat and perfsonar-exist as root (using the
root user).

I then logged in as perfsonar user, and tried installing ssh-telnet mp,
but I get this error message:

[perfsonar@localhost
~]$ rpm -i geant2_java-sshtelnet-mp-1.3RC1-1.i386.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000

I then installed it as root, after which I logged in as perfsonar user,
and tried starting tomcat. This gives me the following error:

[perfsonar@localhost
bin]$ ./startup.sh
Using CATALINA_BASE: /home/perfsonar/perfsonar-tomcat
Using CATALINA_HOME: /home/perfsonar/perfsonar-tomcat
Using CATALINA_TMPDIR: /home/perfsonar/perfsonar-tomcat/temp
Using JRE_HOME: /usr/java/jdk1.5.0_14
touch: cannot touch `/home/perfsonar/perfsonar-tomcat/logs/catalina.out': Permission denied
/home/perfsonar/perfsonar-tomcat/bin/catalina.sh: line 258: /home/perfsonar/perfsonar-tomcat/logs/catalina.out: Permission denied

If I start tomcat as root, everything seems to be working fine though, so I'll upload my first RC tomorrow morning.

Cheers,

Stijn

Frederic LOUI wrote:
Seems that something gone wrong with the installation ...
Did you installed perfsonar-tomcat and perfsonar-exist package as root ? (I mean not using perfsonar user id ?)

And then if you run tomcat, you should run tomcat as perfsonar user.

In addition, do you have restarted tomcat once right after having installed the rpms ?

I'm stuck here... Maybe Guilherme could shed some lights upon your issue ?

Regards/Frederic

Stijn Melis a écrit :
Hi Frederic,

I can see the eXist welcome page, but when I click the Admin link on the left I get a NullPointerException :s

I attached the eXist welcome page. You should notice on the right side that there is also a NullPointerException shown there.

Regards,

Stijn

Frederic LOUI wrote:
Hi stijn,

After installation, eXist should be managed using the following URL:
http:<yourhost>:8080/exist/index.xml

And then on the left, search for the Admin link. (which should be http://<yourhost>:8080/exist/admin/admin.xql)
However, in order to make sure the link I provide you is the right one, please check the tomcat server.xml file.

Guilherme,

Don't hesitate to correct me If I'm wrong ! ;-)

Hope this help.
Cheers/Frederic

Stijn Melis a écrit :
Frederic LOUI wrote:
Correction:
The war file is installed along tomcat directory.

However, eXist dir is unpacked and is nested within tomcat folder.

Cheers/Fred

Where can I find this, 'cause I can't seem to find it. When I try to connect to xmldb:exist://127.0.0.1:8080/exist/xmlrpc/db I get the following response :

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: database is not running
org.exist.xmlrpc.RpcServlet.init(RpcServlet.java:90)
...

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.7 logs.


It says the database is not running. Do I have to start the eXist somewhere first before starting tomcat?

Thanks in advance,

Stijn



------------------------------------------------------------------------


--
Frederic LOUI / GIP RENATER

Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS

Tel: +33 1 53 94 20 82 / Fax: +33 1 53 94 20 31
http://www.renater.fr



Archive powered by MHonArc 2.6.16.

Top of Page